gulp-rev-smart

The lightweight plugin to override urls in css files to hashed after gulp-rev

Usage no npm install needed!

<script type="module">
  import gulpRevSmart from 'https://cdn.skypack.dev/gulp-rev-smart';
</script>

README

CSS-URL Build Status

The lightweight plugin to override urls in files to hashed after gulp-rev

What is the result?

See here

Install

npm install gulp-rev-smart

Usage

var gulp=require('gulp');
var override=require('gulp-rev-smart');

gulp.task('rev',function(){
    return gulp.src('./activity/**/*')
                .pipe(override())
                .pipe(gulp.dest('./build/'))
                .pipe(rev.manifest())
                .pipe(gulp.dest('./rev'));
});

AND

gulp rev

Tests

npm test

License

MIT