The power of webpack, distilled for the rest of us.
MIT License
Bot releases are visible (Hide)
Published by JeffreyWay over 7 years ago
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()
. - #124mix-manifest.json
file. - d8fcac4d10b906c0e0d4b585aaae2aae9837007cwindow.jQuery
, so we now include that in the jQuery ProvidePlugin
defaults. - eda373431bfff753362d339ff7041b0ec2e63533webpack.mix.js
file, you can now require Mix by simply doing var mix = require('laravel-mix')
.Published by JeffreyWay over 7 years ago
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. 4cee266181d5d8fc96d4ad6e19276e2b900b4d0bPublished by JeffreyWay over 7 years ago
mix.webpackConfig()
to not merge properly in certain situations. - 441e81cb58f6b75dd83128f3bcac0861345ca8cdwebpack.config.js
fonts to reference the proper public path. - f51e86c017365e027ac4b951994477719a160920Published by JeffreyWay almost 8 years ago
manifest.json
to mix-manifest.json
to avoid conflicts with any potential application cache manifest files in the same directory.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
mix()
function is now included with all Laravel 5.4 installs. https://github.com/laravel/framework/commit/6ea4997fcf7cf0ae4c18bce9418817ff00e4727f
mix.js()
at least once. 4e78e374f9220166c907931982cc92379c538feevue-template-compiler
dependency to 2.1.9. 944700e1253a4e85988aab2aeb618a5d5196181dmix.sass()
calls to not be represented correctly in the manifest file. 8849785ab44e68e546207b2534b5241b602691cfwebpack.config.js
to search for OTF fonts as well. 88da87634b64737094181856bc3bec5204ba6909Published by JeffreyWay almost 8 years ago
Mix.json
to Manifest.json
and moved its save location to your public directory.mix.setCachePath()
, as it's now no longer needed.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
mix.sass()
or mix.less()
calls. For each call, you'll get a new output file. 5b33a0056f6693e6b96a6adfac6dc70060771f64Published by JeffreyWay almost 8 years ago
manifest.json
build file size has been drastically reduced, and now only includes information that Laravel Mix requires to determine file paths.Published by JeffreyWay almost 8 years ago