Releases: webpack/mini-css-extract-plugin
Releases · webpack/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.jsversion is10.13.0 - the
esModuleoption istrueby default, you need to changeconst locals = require('./styles.css')/require('./styles.css')onimport locals from './styles.css'/import './styles.css'' - the
moduleFilenameoption was removed in favor thefilenameoption - the
hmroption was removed, HMR will work automatically whenHotModuleReplacementplugin used orwebpack-dev-serverwith enabled thehotoption - the
reloadAllwas removed
Features
- the
chunkFilenameoption 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.