MyGit

v3.0

laravel-mix/laravel-mix

版本发布时间: 2018-11-28 22:47:14

laravel-mix/laravel-mix最新发布版本:v6.0.0(2020-12-22 04:31:52)

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

Onward

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

相关地址:原始地址 下载(tar) 下载(zip)

查看:2018-11-28发行的版本