Releases: webpack-contrib/mini-css-extract-plugin
Releases · webpack-contrib/mini-css-extract-plugin
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.