v1.0.0
·
287 commits
to master
since this release
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.