Awesome
CSS-URL
The lightweight plugin to override urls in css files to hashed after <a href="https://www.npmjs.org/package/gulp-rev">gulp-rev</a>
What is the result?
See <a href="https://github.com/galkinrost/gulp-rev-css-url/tree/master/expected">here</a>
Install
npm install gulp-rev-css-url
Usage
var gulp=require('gulp');
var rev=require('gulp-rev');
var override=require('gulp-rev-css-url');
gulp.task('rev',function(){
return gulp.src('./app/**/*')
.pipe(rev())
.pipe(override())
.pipe(gulp.dest('./build/'))
.pipe(rev.manifest())
.pipe(gulp.dest('./build/'));
});
AND
gulp rev
Tests
npm test
License
MIT