Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 819 Bytes

disable-revisioning.md

File metadata and controls

32 lines (24 loc) · 819 Bytes

English / 日本語

Disable asset revisioning

Remove rev from the build task.

gulp.task('build', function (callback) {
- runSequence('clean:dist', ['html', 'styles', 'scripts', 'images', 'extras'], 'rev', callback);
+ runSequence('clean:dist', ['html', 'styles', 'scripts', 'images', 'extras'], callback);
});

Optional:
If you want to remove this feature permanently, remove rev and filerev task, and then uninstall gulp-rev and gulp-rev-replace from your project.

- gulp.task('filerev', function () {
-   ...
- });

- gulp.task('rev', ['filerev'], function () {
-   ...
- });
$ npm uninstall gulp-rev gulp-rev-replace --save-dev

See also