gulp-rev-filename
Static asset revisioning by change content hash to filenames
unicorn.png
→d41d8cd98f.png
Install
$ npm install --save-dev gulp-rev-filename
Usage
var gulp = ;var rev = ; gulp;//`unicorn.png` → `d41d8cd98f.png`
API
rev(obj)
obj.showSize
Type: boolean
Default: false
if true
unicorn.png
→ d41d8cd98f_40*40_1.png
width:40px; height:40px; size:1k;
License
MIT © openks