github laravel-mix/laravel-mix v3.0

latest releases: v6.0.43, v6.0.42, v6.0.41...
5 years ago

New

Babel 7 support! As this new version of Babel includes major breaking changes, Mix, too, needs to bump from v2 to v3. We've taken care of most the changes, however, if your project pulls in extra Babel plugins that Mix does not provide out of the box, you'll need to update locally as well.

  1. The naming convention for official Babel plugins has changed. They are now scoped under the @babel namespace. As such, in your package.json file, change all occurrences of "babel-plugin-[name]": "6.x" to "@babel/plugin-[name]": "7.x"
  2. If you've created a .babelrc file in your project, update all plugin name references. For example, update "plugins": ["babel-plugin-transform-object-rest-spread"] to "plugins": ["@babel/plugin-proposal-object-rest-spread"]

Fixes

  • Updated the rootPath to the working directory of the node process. #1719
  • Fixed issues with minified css and purify. #1634

Onward

Next up, we'll be upgrading the Mix codebase to webpack 4. Stay tuned.

Don't miss a new laravel-mix release

NewReleases is sending notifications on new releases.