gulp-css-decache
v2.1.0
Published
Finds all url() statements in your CSS files and adds cachebusting parameters to them.
Downloads
38
Maintainers
Readme
gulp-css-decache
Finds all url() statements in your CSS files and adds cachebusting parameters to them.
Install
$ npm install --save-dev gulp-css-decache
Usage
var gulp = require('gulp');
var decache = require('gulp-css-decache');
gulp.task('decache', function() {
return gulp.src(['css/*.css'])
.pipe(decache({ base : './public/', md5: true, ignore: [/regexToMatchURIsToSkip/] }))
.pipe(gulp.dest('./public'));
});
License
MIT © Max Degterev