The power of webpack, distilled for the rest of us.
mix.preact()
.mix.webpackConfig()
now can accept a callback function.extractVueStyles
accepts a string path.transform-object-rest-spread
Babel plugin is now enabled by default.esModule
option is now configurable.file-loader
output directories are now configurable.dd()
function.vue-template-compiler
version.node-sass
path for standalone Sass compilation.mix.postCss()
.mix.version()
to version all nested files.mix.version('path/to/folder');
mix.combine()
, mix.scripts()
, and mix.styles()
may now also accept a folder path.mix.scripts('public/js/vendor', 'public/combined.js'); // combine all files in this dir
mix.scripts('public/assets/*.js', 'public/combined.js') // combine all JS files in this dir
--watch-poll
command line option.mix.fastSass()
.Mix.combine()
now provides better feedback if the output path is omitted.
= 7e61f561cdd94343d7a648d0c330fa7e221a81a2 Mix.babel()
no longer hardcodes the Babel config. It instead reads from Mix's config (or yours, if you provide one).mix.copy()
assets for changes.