Releases: webpack-contrib/style-loader
Releases · webpack-contrib/style-loader
v2.0.0
⚠ BREAKING CHANGES
- 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''
(#489) (727a24d) - removed support for loaders returning
String
instead ofArray
(#491) (7a0ce4c)
⚠ NOTICE
To avoid problems between style-loader
and mini-css-extract-plugin
because of changing the esModule
option to true
by default we strongly recommend upgrading mini-css-extract-plugin
to 1.0.0
version.