Auto append hash to file instead of using virtual one Read More
npm install laravel-mix-versionhash --save
require('laravel-mix-versionhash')
mix.versionHash();
- for removing old files use Clean for WebPack
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 |