chore(deps): update dependency laravel-mix to v5#64
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.0->5.0.0Release Notes
JeffreyWay/laravel-mix
v5.0.0Compare Source
v4.1.4Compare Source
v4.1.3Compare Source
v4.1.2Compare Source
v4.1.1Compare Source
v4.1.0Compare Source
v4.0.16Compare Source
v4.0.15Compare Source
v4.0.14Compare Source
v4.0.13Compare Source
v4.0.12Compare Source
v4.0.11Compare Source
v4.0.10Compare Source
v4.0.9Compare Source
v4.0.8Compare Source
v4.0.7Compare Source
v4.0.6Compare Source
v4.0.5Compare Source
v4.0.4Compare Source
v4.0.3Compare Source
v4.0.2Compare Source
v4.0.1Compare Source
v4.0.0Compare Source
To Upgrade...
After upgrading, if you encounter any
vue-template-compilerissues, this is related to the fact that your installed version numbers ofvueandvue-template-compilermust be identical. Update one or both to fix this issue.New
npm installs.mix.extract()with zero arguments, all vendor dependencies (any package fromnode_modules/that you pull in) will automatically be extracted. Nifty!887808fmix.sass()call, if desired.88690a25fb180enpm installs.320cecb.babelrcfile in your project root.83f5052Bugfixes
npm auditalerts have been fixed, thanks to the upgrade to webpack 4.Notes
node-sassandsass-loaderdependencies were included out of the box, regardless of whether your project required Sass compilation or not. To help improve install times, these two dependencies will now be installed on-demand if, and only if, your project specifies Sass compilation withmix.sass(). The first time you runnpm run dev, the dependencies will be installed and saved to your dev-dependencies list.5b7a438Breaking
Importing ES Modules
Important: As part of the vue-loader 15 updates, if your code uses the CommonJS syntax for importing EcmaScript modules, you'll need to append
.default, like so:Before
After
Babel 7 Updates
Important: Now that Mix has been updated to support Babel 7, you may need to address a few Babel-specific breaking changes. If your project pulls in extra Babel plugins that Mix does not provide out of the box, you'll need to update your local dependencies.
package.jsonfile, change all occurrences of"babel-plugin-[name]": "6.x"to"@​babel/plugin-[name]": "7.x".babelrcfile 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"]Node Sass to Dart Sass
As part of our switch from
node-sasstodart-sass, though support is largely identical, you may notice changes or warnings upon compilation. You may either address these one-by-one, or you can manually switch back to node-sass, like so:fastSass() and standaloneSass() Removed
mix.fastSass()andmix.standaloneSass()(aliases) have been removed entirely. In an effort to improve performance for those who only need to compile CSS, this command provided Sass compilation that was separate from the core webpack build. However, it seems to be more confusing than helpful to newcomers. Migrate by switching frommix.fastSass()tomix.sass().3e47804Before
After
Deprecated
.mixProperty RemovedThe deprecated
mixproperty has now been removed. If you haverequire('laravel-mix').mixin yourwebpack.mix.jsfile, change it torequire('laravel-mix').7dc0104Before
After
Switching From Uglify to Terser
Due to the mandatory switch from Uglify to Terser, if your project was overriding our default config with
Config.uglify = {}, you'll need to switch toConfig.terser = {}. The options API is largely the same.Before
After
Vue Component Sass Preprocessing
If your project does not include a
mix.sass()call (which automatically downloads all necessary dependencies), but does specifylang="sass"in your Vue components, you may need to install eithernode-sassorsass. Because Mix doesn't know which preprocessors you specify in your Vue components, you'll need to manually pull them in. Fix it withnpm install node-sass sass-loaderornpm install sass sass-loader. Please note that the same is true for Less and Stylus.v3.0.0Compare Source
v2.1.14Compare Source
v2.1.13Compare Source
v2.1.12Compare Source
v2.1.11Compare Source
v2.1.10Compare Source
v2.1.9Compare Source
v2.1.8Compare Source
v2.1.7Compare Source
v2.1.6Compare Source
v2.1.5Compare Source
v2.1.3Compare Source
v2.1.2Compare Source
v2.1.1Compare Source
v2.1.0Compare Source
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.