Releases: webpack-contrib/mini-css-extract-plugin
Releases · webpack-contrib/mini-css-extract-plugin
v1.3.1
v1.3.0
1.3.0 (2020-11-06)
⚠ 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 to mini-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
Bug Fixes
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.0
BREAKING CHANGE
- minimum supported
Node.js
version is10.13.0
- the
esModule
option istrue
by default, you need to changeconst locals = require('./styles.css')
/require('./styles.css')
onimport locals from './styles.css'
/import './styles.css''
- the
moduleFilename
option was removed in favor thefilename
option - the
hmr
option was removed, HMR will work automatically whenHotModuleReplacement
plugin used orwebpack-dev-server
with enabled thehot
option - the
reloadAll
was removed
Features
- the
chunkFilename
option can be a function for webpack@5
⚠ NOTICE
To avoid problems between mini-css-extract-plugin
and style-loader
because of changing the esModule
option to true
by default we strongly recommend upgrading style-loader
to 2.0.0
version.