laravel-mix

The power of webpack, distilled for the rest of us.

MIT License

Stars
5.2K
Committers
219

Bot releases are visible (Hide)

laravel-mix - v0.5.3

Published by JeffreyWay over 7 years ago

Additions

  • Added a mix.autoload()method for the times when you need Webpack to autoload certain modules. The object you pass to this method will be provided to webpack.ProvidePlugin(). - #124

Fixes

  • Fixed a Windows-specific issue that generated back-slashes instead of forward-slashes in the mix-manifest.json file. - d8fcac4d10b906c0e0d4b585aaae2aae9837007c
  • Angular will look for window.jQuery, so we now include that in the jQuery ProvidePlugin defaults. - eda373431bfff753362d339ff7041b0ec2e63533
  • Fixed an issue that caused versioning to be applied to the production environment incorrectly. We also re-enabled versioning for dev mode. - 9d14d7b0c1766e560c8b60ef06a9293b1f9b0f66
  • Within your webpack.mix.js file, you can now require Mix by simply doing var mix = require('laravel-mix').
laravel-mix - v0.5.2

Published by JeffreyWay over 7 years ago

Fixes

  • When running mix.copy(), we now flatten the output files. This prevents situations where using a glob for the source path to mix.copy() generates nested output directories that match the original source tree. 4cee266181d5d8fc96d4ad6e19276e2b900b4d0b
  • Remove a few unnecessary directories from being downloaded by NPM. d4d843421823a7418e4fa1e4606e41a9e4c3d666
laravel-mix - v0.5.1

Published by JeffreyWay over 7 years ago

Fixes

  • Fixed a glitch that caused Webpack config overriding with mix.webpackConfig() to not merge properly in certain situations. - 441e81cb58f6b75dd83128f3bcac0861345ca8cd
  • Fixed a Windows-specific directory separator issue - #97
  • Updated webpack.config.js fonts to reference the proper public path. - f51e86c017365e027ac4b951994477719a160920
laravel-mix - v0.5.0

Published by JeffreyWay almost 8 years ago

Breaking

  • Renamed manifest.json to mix-manifest.json to avoid conflicts with any potential application cache manifest files in the same directory.
  • As part of 8849785ab44e68e546207b2534b5241b602691cf we had to switch to a different plugin for generating the manifest file. This forced a slightly different output for mix-manifest.json, so your server-side mix() function should be updated, if you're not using Laravel. Here's a working example that you should be able to convert to your language/tool of choice. https://github.com/laravel/framework/commit/6ea4997fcf7cf0ae4c18bce9418817ff00e4727f

Additions

Fixes

  • Fixed a bug that caused multiple mix.sass() calls to not be represented correctly in the manifest file. 8849785ab44e68e546207b2534b5241b602691cf
  • Updated webpack.config.js to search for OTF fonts as well. 88da87634b64737094181856bc3bec5204ba6909
laravel-mix - v0.4.0

Published by JeffreyWay almost 8 years ago

Breaking

  • Renamed Mix.json to Manifest.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 the manifest.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() or mix.less() calls. For each call, you'll get a new output file. 5b33a0056f6693e6b96a6adfac6dc70060771f64

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. 5e1151d0523b6b433b6ad0e8cd7116bda3e341be
laravel-mix - v0.3.1

Published by JeffreyWay almost 8 years ago

Fixes

  • The manifest.json build file size has been drastically reduced, and now only includes information that Laravel Mix requires to determine file paths.
  • Resolve #38 - In some instances, it was possible that particular vendor libraries couldn't find jQuery.

Additions (Minor)

  • Babel compilation will now always use a cache directory.
  • When running Webpack's dev server, Gzip by default.
laravel-mix - v0.3.0

Published by JeffreyWay almost 8 years ago

errors

New