fix(deps): update dependency mini-css-extract-plugin to v2 #2289
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:
1.6.1
->2.0.0
Release Notes
webpack-contrib/mini-css-extract-plugin
v2.0.0
Compare Source
NOTES
In the current release we have fixed many problems with
publicPath
, previously to generate relative URLs inside CSS files developers use different hacks:publicPath: ''
,publicPath: '../'
, using relative../../
in theoutputPath
option forfile-loader
and etc. Now you don't need it anymore. Webpack v5 usespublicPath: "auto"
by default, which means to always generate relative URLs, and nowmini-css-extract-plugin
does the same.We strongly recommend use
auto
value by default (except when using CDN).We also want to show you that the
file-loader
andurl-loader
are outdated, please migrate on Asset Modules.⚠ BREAKING CHANGES
Node.js
version is12.13.0
webpack
version is5.0.0
modules.namedExport
option was removed, you don't need it anymore, because we respect themodules.namedExport
option fromcss-loader
, just remove itpublicPath
option no longer automatically adds/
(trailing slash), you need to specify, you need to specify it yourself if it is absent, i.e. if you havepublicPath: "/my/public/path"
replace it withpublicPath: "/my/public/path/"
Bug Fixes
url()
for assets inside CSS files when you usepublicPath: "auto"
(default value)1.6.2 (2021-06-28)
Bug Fixes
1.6.1 (2021-06-25)
Bug Fixes
v1.6.2
Compare Source
Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.