Update dependency mini-css-extract-plugin to v2 #887
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.0
->^2.0.0
1.2
->2.5
Release Notes
webpack-contrib/mini-css-extract-plugin (mini-css-extract-plugin)
v2.9.1
Compare Source
v2.9.0
Compare Source
Features
defaultExport
option to generate default and named export together (#1084) (74ae781)Bug Fixes
2.8.1 (2024-02-27)
Bug Fixes
nonce
if__webpack_nonce__
has been defined (c7f0aee)v2.8.1
Compare Source
v2.8.0
Compare Source
Features
beforeTagInsert
hook (#1054) (6313bf6)2.7.7 (2024-01-10)
Bug Fixes
ChunkLoadError
name to chunk loading error (#1073) (e3f8375)2.7.6 (2023-05-19)
Bug Fixes
2.7.5 (2023-03-16)
Bug Fixes
2.7.4 (2023-03-16)
Bug Fixes
2.7.3 (2023-03-07)
Bug Fixes
2.7.2 (2022-12-06)
Bug Fixes
2.7.1 (2022-11-29)
Bug Fixes
v2.7.7
Compare Source
v2.7.6
Compare Source
v2.7.5
Compare Source
v2.7.4
Compare Source
v2.7.3
Compare Source
v2.7.2
Compare Source
v2.7.1
Compare Source
v2.7.0
Compare Source
Features
2.6.1 (2022-06-15)
Bug Fixes
v2.6.1
Compare Source
v2.6.0
Compare Source
Features
baseUri
option support (from entry options) (#915) (6004d95)2.5.3 (2022-01-25)
Bug Fixes
2.5.2 (2022-01-17)
Bug Fixes
2.5.1 (2022-01-17)
Bug Fixes
v2.5.3
Compare Source
v2.5.2
Compare Source
v2.5.1
Compare Source
v2.5.0
Compare Source
Features
2.4.7 (2022-01-13)
Bug Fixes
2.4.6 (2022-01-06)
Bug Fixes
publicPath
is function (#881) (41bd828)chunkFilename
option (#879) (36e04ab)filename
option (#878) (76361df)2.4.5 (2021-11-17)
Chore
schema-utils
package to4.0.0
version2.4.4 (2021-11-04)
Bug Fixes
[contenthash]
(#869) (57ad127)2.4.3 (2021-10-21)
Bug Fixes
2.4.2 (2021-10-07)
Bug Fixes
2.4.1 (2021-10-05)
Bug Fixes
v2.4.7
Compare Source
v2.4.6
Compare Source
v2.4.5
Compare Source
v2.4.4
Compare Source
v2.4.3
Compare Source
v2.4.2
Compare Source
v2.4.1
Compare Source
v2.4.0
Compare Source
Performance
5.52.0
(recommended latest stable), for older versions the old API will be used (except explicit enabling of theexperimentalUseImportModule
option)Features
supports()
andlayer()
in@import
at-rule (#843) (e751080)Bug Fixes
exportLocalsConvention
option (#844) (0f8d501)v2.3.0
Compare Source
Features
runtime
option (#831) (5cc73e6)Bug Fixes
2.2.2 (2021-09-01)
Bug Fixes
experimentalUseImportModule
works withnew URL(...)
syntax (cf81c4b)2.2.1 (2021-08-31)
Bug Fixes
@import
with theoutput.pathinfo
option (#815) (831f771)output.pathinfo
option (#817) (f813b4c)v2.2.2
Compare Source
v2.2.1
Compare Source
v2.2.0
Compare Source
Features
link
anddescription
for options (#786) (3c5a5b7)Bug Fixes
v2.1.0
Compare Source
Features
pathinfo
option (#783) (a37713f)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
Configuration
📅 Schedule: Branch creation - "before 6am" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.