You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, how can i merge all assets to one rev-manifest.json for example css files js files to one rev-manifest.json and rev-del work correctly in this situation.
and finally i think the gulp task must be something like this
for javascript files
.pipe(rev())
.pipe(gulp.dest(statics + 'dist/js'))
.pipe(rev.manifest({ merge: true }))
.pipe(revDel({ dest: statics + 'dist/js' }))
// hear save the rev-manifest.json to static/dist/rev-manifest.json not separate for each folder
.pipe(gulp.dest(statics + 'dist'))
for css files
.pipe(rev())
.pipe(gulp.dest(statics + 'dist/css'))
.pipe(rev.manifest({ merge: true }))
.pipe(revDel({ dest: statics + 'dist/css' }))
// hear save the rev-manifest.json to static/dist/rev-manifest.json not separate for each folder
.pipe(gulp.dest(statics + 'dist'))
the important step is revdel should work fine
The text was updated successfully, but these errors were encountered:
Description
Hi, how can i merge all assets to one rev-manifest.json for example css files js files to one rev-manifest.json and rev-del work correctly in this situation.
here is asset directory
rev-manifest.json files for all assets
and finally i think the gulp task must be something like this
the important step is revdel should work fine
The text was updated successfully, but these errors were encountered: