Skip to content
This repository has been archived by the owner on Jul 4, 2021. It is now read-only.

jakemulley/hashbuster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-dev

Options

  • basePaths (array) - List of folders with files inside to hashbust
  • hashLength (integer) - Length of hash to append to the filename

Defaults

basePaths: [],
hashLength: 8

Usage

NPM

var hasher = require('./hashbuster');
hasher({ basePaths: ['public/_css'] });

Gulp

Coming soon.

About

Append an md5 hash to file names.

Resources

Stars

Watchers

Forks

Packages

No packages published