Releases: laravel-mix/laravel-mix
Releases · laravel-mix/laravel-mix
v1.7.0
v1.6.0
New
- #1301 Updated uglify-js to version 1.0. This release finally adds ES6 support.
- #1294 Added Preact support, via
mix.preact()
. - #1163 Added support for Vue global styles that can be available to all components.
- 68bc859
mix.webpackConfig()
now can accept a callback function. - #1243 The underlying sourcemap style is now configurable.
- #1300 CSS autoprefixing may now be toggled.
Fixes
v1.5.0
New
- 6b5ae97 The
transform-object-rest-spread
Babel plugin is now enabled by default. - #1211 Vue's
esModule
option is now configurable. - #1154
file-loader
output directories are now configurable. - #1097 Add Browsersync support for the
dd()
function.
Fixes
- #1189 When applying postcss plugins, autoprefixer will now always occur last in the sequence.
v1.4.4
v1.4.3
v1.4.0
New
- #1012 Added support for postcss exclusive compilation (no Sass or Less required):
mix.postCss()
. - f7c7ff9 Pin webpack 3.4 dependency.
Fixes
- #879 Local sourcemap support now defaults to the webpack "inline-source-map" type.
- b78d5bf Hot reloading now properly writes its temporary file to the proper publicPath.
- #1043 Adjusted the BuildCallbackPlugin to fire after all custom tasks have completed.
- #1048 Properly save auto-installed dependencies when using Yarn.
v1.3.0
New
- #1008 You can now pass a directory path to
mix.version()
to version all nested files.
mix.version('path/to/folder');
- #1030
mix.combine()
,mix.scripts()
, andmix.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
- #1003 Custom file watching now respects the
--watch-poll
command line option. - #1028 Support importing .vue files using TypeScript.
- 25ed65b Returned webpack 3 scope hoisting optimizations.
Fixes
v1.2.0
v1.1.0
New
- #885 Added support for variable expansion within .env files.
Fixes
- #962 Fixed a bad path calculation when watching
mix.copy()
assets for changes. - #957 A custom public directory that doesn't exist will no longer cause Mix to error out.
- #964 Fixed an issue with calculating relative paths outside of the project root.
- 88c126e We now use the ES-module build of Vue, rather than the CommonJS version.