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.
- The naming convention for official Babel plugins has changed. They are now scoped under the @babel namespace. As such, in your
package.jsonfile, change all occurrences of
- If you’ve created a
.babelrcfile in your project, update all plugin name references. For example, update
- Updated the rootPath to the working directory of the node process. #1719
- Fixed issues with minified css and purify. #1634
Next up, we’ll be upgrading the Mix codebase to webpack 4. Stay tuned.