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.