JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 62660
  • Score
    100M100P100Q147182F
  • License MIT

Static asset revisioning by prepending content hash to filenames: unicorn.css => 098f6bcd.unicorn.css

Package Exports

  • gulp-rev

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-rev) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-rev Build Status

Static asset revisioning by prepending content hash to filenames
unicorn.css => 098f6bcd.unicorn.css

Make sure to set the files to never expire for this to have an effect.

Install

Install with npm

npm install --save-dev gulp-rev

Example

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

gulp.task('default', function () {
    gulp.src('src/*.css')
        .pipe(rev())
        .pipe(gulp.dest('dist'));
});

License

MIT © Sindre Sorhus