Breaking
- Renamed
Mix.json
toManifest.json
and moved its save location to your public directory. - Removed
mix.setCachePath()
, as it's now no longer needed. - If you copied the example PHP
mix()
function from the Laravel Mix example repo, you'll need to update it, since themanifest.json
contents have changed. See here: https://github.com/JeffreyWay/laravel-mix-example/blob/master/app/mix.php - For performance reasons, versioning (the hashing of files) will only be applied to a production environment now.
Additions
- Added support for multiple
mix.sass()
ormix.less()
calls. For each call, you'll get a new output file. 5b33a00
Fixes
- Fixed a versioning bug that caused compiled files to receive new hashes, even if their source files weren't modified. We now used the MD5 of each file's contents to determine its respective hash. 5e1151d