stomt / gulp-modular

Boilerplate gulp tasks for quick project setup.
MIT License
10 stars 0 forks source link

Write rev changes to manifest file #50

Closed maxklenk closed 8 years ago

maxklenk commented 8 years ago

To be able to keep track of the renamed files, we have to store their names in a central place. The following lines have to be added where we apply rev.

.pipe(gulpif(config.build.rev, rev.manifest({cwd: config.statics.dest, merge: true})))
.pipe(gulpif(config.build.rev, gulp.dest(config.statics.dest)))