gulp-rev-style-url
v0.1.1
Published
The lightweight plugin to override urls in css files to hashed after gulp-rev
Downloads
2
Maintainers
Readme
REPLACE REV URL IN STYLE FILES (scss/less/stylus/css)
It's fork (https://github.com/galkinrost/gulp-rev-css-url) optimized for work with not only css.
The lightweight plugin to override urls in styles files to hashed after gulp-rev
Install
npm install gulp-rev-style-url
Usage
var gulp=require('gulp');
var rev=require('gulp-rev');
var override=require('gulp-rev-style-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