Auto append hash to file instead of using virtual one
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
src
LICENSE
README.md
package.json

README.md

Laravel Mix Versionhash
npm npm

Auto append hash to file instead of using virtual one Read More

Installation

npm install laravel-mix-versionhash --save

Usage

require('laravel-mix-versionhash')

mix.versionHash();

Options

option type default description
length int 6 the hash string length
delimiter string '.' the delimiter for filename and hash,
note that anything other than . - _ will be removed

TODO

  • add option to exclude files from hashing.