Fake rev manifest
MIT License
Generate a fake manifest where v=k. Provide a workaround for https://github.com/sindresorhus/gulp-rev/issues/40
npm install gulp-rev-fakemanifest --save
const revFakeManifest = require('gulp-rev-fakemanifest');
(...).pipe(revFakeManifest(pth, opts).pipe(...)
Options are the same as gulp-rev-manifest
: https://github.com/lukeed/gulp-rev-manifest#revmanifestpath-options
return gulp.src('dist', { base: 'assets' })
.pipe(isProd ? rev() : noop())
.pipe(
isProd
? rev.manifest({ base: 'assets' })
: revFakeManifest({ base: 'assets' })
)
.pipe(gulp.dest('assets'));