1.0.1 • Published 10 years ago
hashbuster v1.0.1
Hashbuster
Append an md5 hash to file names. Also checkout Asset Injector, which goes hand in hand with Hashbuster to create an asset pipeline.
Installation
npm i hashbuster --save-devOptions
basePaths(array) - List of folders with files inside to hashbusthashLength(integer) - Length of hash to append to the filename
Defaults
basePaths: [],
hashLength: 8Usage
NPM
var hasher = require('./hashbuster');
hasher({ basePaths: ['public/_css'] });Gulp
Coming soon.