Open
Description
I have changed the source css code, and rebuild the task, but the hashed css name is the same as before.here is the code.
gulp.task('style', () => {
var processors = [
pxtoviewport({
viewportWidth: 750,
viewportUnit: 'vmin'
})
];
return gulp.src(['./h5-cover/style/**/*.css', './h5-cover/style/*.less'])
.pipe(less())
.pipe(postcss(processors))
.pipe(concat({path: 'index.min.css', cwd: ''}))
.pipe(minifyCss())
.pipe(rev())
.pipe(gulp.dest('./resource/css/'))
.pipe(rev.manifest())
.pipe(gulp.dest('./resource/rev/'));
});
Metadata
Metadata
Assignees
Labels
No labels