style-loader
Advanced tools
Changelog
2.0.0 (2020-10-09)
Node.js
version is 10.13.0
esModule
option is true
by default, you need to change const locals = require('./styles.css')
/require('./styles.css')
on import locals from './styles.css'
/import './styles.css''
(#489) (727a24d)String
instead of Array
(#491) (7a0ce4c)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.