Update dependency mini-css-extract-plugin to v2 #76
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:
0.5.0
->2.9.0
Release Notes
webpack-contrib/mini-css-extract-plugin (mini-css-extract-plugin)
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
v1.6.2
Compare Source
v1.6.1
Compare Source
v1.6.0
Compare Source
Features
1.5.1 (2021-04-28)
Bug Fixes
v1.5.1
Compare Source
v1.5.0
Compare Source
Features
importModule
, improve perfomance (#737) (8471ac2)1.4.1 (2021-04-07)
Bug Fixes
v1.4.1
Compare Source
v1.4.0
Compare Source
Features
emit
option for SSR (#732) (03b4293)1.3.9 (2021-02-25)
Bug Fixes
CssModule
andCssDependency
(#703) (6484345)auto
value with thepublicPath
option (#709) (1be21d2)1.3.8 (2021-02-18)
Bug Fixes
[contenthash]
(#702) (2ff8e59)1.3.7 (2021-02-15)
Bug Fixes
1.3.6 (2021-02-08)
Bug Fixes
[fullhash]
(#695) (dbb708c)1.3.5 (2021-01-28)
Bug Fixes
1.3.4 (2021-01-13)
Bug Fixes
identifier
forCssModule
(#677) (117a97a)1.3.3 (2020-12-10)
Bug Fixes
1.3.2 (2020-12-04)
Bug Fixes
1.3.1 (2020-11-12)
Bug Fixes
v1.3.9
Compare Source
v1.3.8
Compare Source
v1.3.7
Compare Source
v1.3.6
Compare Source
v1.3.5
Compare Source
v1.3.4
Compare Source
v1.3.3
Compare Source
v1.3.2
Compare Source
v1.3.1
Compare Source
v1.3.0
Compare Source
⚠ POTENTIAL BREAKING CHANGE
Options are now validated according to stricter rules - no unknown additional properties. For example, if you have not removed the
hmr
option for the loader when migrating tomini-css-extract-plugin@1
, you will get an error. Just remove them from your configuration(s). We did this because many developers started making these mistakes.Features
type
property for loading errors (#651) (be9ddcb)Bug Fixes
1.2.1 (2020-10-27)
Bug Fixes
v1.2.1
Compare Source
v1.2.0
Compare Source
Features
linkType
option (#634) (a89c0f9)Bug Fixes
1.1.2 (2020-10-22)
Bug Fixes
1.1.1 (2020-10-20)
Bug Fixes
onerror
message for async chunks (#629) (883079e)v1.1.2
Compare Source
v1.1.1
Compare Source
v1.1.0
Compare Source
Features
attributes
option (e8a2d5a)insert
option (a5f17c4)Bug Fixes
normalize-url
from deps (#623) (9ae47e5)1.0.0 (2020-10-09)
BREAKING CHANGE
Node.js
version is10.13.0
esModule
option istrue
by default, you need to changeconst locals = require('./styles.css')
/require('./styles.css')
onimport locals from './styles.css'
/import './styles.css''
moduleFilename
option was removed in favor thefilename
optionhmr
option was removed, HMR will work automatically whenHotModuleReplacement
plugin used orwebpack-dev-server
with enabled thehot
optionreloadAll
was removedFeatures
chunkFilename
option can be a function for webpack@5⚠ NOTICE
To avoid problems between
mini-css-extract-plugin
andstyle-loader
because of changing theesModule
option totrue
by default we strongly recommend upgradingstyle-loader
to2.0.0
version.0.12.0 (2020-10-07)
Features
0.11.3 (2020-10-02)
Bug Fixes
0.11.2 (2020-09-12)
Bug Fixes
0.11.1 (2020-09-08)
Bug Fixes
0.11.0 (2020-08-27)
Features
Bug Fixes
0.10.0 (2020-08-10)
Features
Bug Fixes
Uncaught TypeError
on Webpack v5 (#561) (3974210)webpack@5
(#477) (903a56e)0.9.0 (2019-12-20)
Features
esModule
option (#475) (596e47a)0.8.2 (2019-12-17)
Bug Fixes
0.8.1 (2019-12-17)
Bug Fixes
v1.0.0
Compare Source
v0.12.0
Compare Source
v0.11.3
Compare Source
v0.11.2
Compare Source
v0.11.1
Compare Source
v0.11.0
Compare Source
v0.10.1
Compare Source
v0.10.0
Compare Source
v0.9.0
Compare Source
v0.8.2
Compare Source
v0.8.1
Compare Source
v0.8.0
Compare Source
Features
v0.7.0
Compare Source
Bug Fixes
publicPath
regression (#384) (582ebfe)Features
moduleFilename
option (#381) (13e9cbf)v0.6.0
Compare Source
Features
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.