Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge option for existing rev-manifests #160

Open
manuelbieh opened this issue Nov 14, 2016 · 0 comments
Open

Merge option for existing rev-manifests #160

manuelbieh opened this issue Nov 14, 2016 · 0 comments

Comments

@manuelbieh
Copy link

In 0.8 it was possible to do something like:

const revAll = new $.revAll();

revAll.revisioner.manifest = require(path.resolve('./web/rev-manifest.json'));

return gulp.src([
    `./src/{css,images,js}/**/*.{jpg,gif,svg,png,css,js,map}`
])
.pipe(revAll.revision())
.pipe(gulp.dest('./web'))
.pipe(revAll.manifestFile({merge: true}))
.pipe(gulp.dest('./web));

... to merge an existing rev-manifest.json with the newly created by gulp-rev-all. This seems to be no longer possible in 0.9. I had a look at the source and it looks like there even is no chance to write a quick workaround for that.

Maybe I was just blind, so is it possible to just add files to an existing manifest instead of creating a new one replacing a possibly existing old one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant