chore(deps): update dependency style-loader to v3
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| style-loader | devDependencies | major | 0.23.1 -> 3.3.1 |
Release Notes
webpack-contrib/style-loader
v3.3.1
v3.3.0
Features
- added support for
supports(),layer()andmediafrom@importat-rules (b9a600c) - allow to pass options to
insertfunction throughstyle.use()(#535) (f8ef63b)
3.2.1 (2021-07-20)
Bug Fixes
v3.2.1
v3.2.0
Features
Bug Fixes
v3.1.0
Features
- allow to specify the
insertoption from file, we strongly recommend do it, using theinsertoption from file will reduce your bundle size, example (#521) (56fc8f0) - allow to specify the
styleTagTransformoption from file, we strongly recommend do it, using thestyleTagTransformoption from file will reduce your bundle size, example
Bug Fixes
v3.0.0
⚠ BREAKING CHANGES
- minimum supported
Node.jsversion is12.13.0 - minimum supported
webpackversion is5.0.0 - the
modules.namedExportoption was removed, you don't need it anymore, because we respect themodules.namedExportoption fromcss-loader(we just reexport all fromcss-loader), just remove it - the
styleTagvalue of theinjectType(default value) option earlier uses singleton style tag by default for IE8-IE9 due limitations (more information), in this release we have disabled this behavior, because these versions of IE are outdated, if you don't support these browsers this change does not affect you, if you require to support IE8-IE9, you can return old behaviour by settingautoStyleTagvalue for theinjectTypeoption (do the same forlazyStyleTag, i.e. change it tolazyAutoStyleTag)
Features
- added
autoStyleTagandlazyAutoStyleTagvalues for theinjectTypeoption for compatibility of work modern and IE8-IE9 browsers - added
styleTagTransformoption for custom processing style tags (useful if you need ponyfill CSS custom properties for IE8-IE10) - reduce size of generated code
- reduce deps
v2.0.0
⚠ BREAKING CHANGES
- 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''(#489) (727a24d) - removed support for loaders returning
Stringinstead 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.
v1.3.0
Features
Bug Fixes
1.2.1 (2020-04-28)
Bug Fixes
v1.2.1
v1.2.0
Features
- hot module replacement for css modules (6d14e0a)
1.1.4 (2020-04-15)
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
Features
Bug Fixes
1.0.2 (2019-12-17)
Bug Fixes
1.0.1 (2019-11-28)
Bug Fixes
v1.0.2
v1.0.1
v1.0.0
Bug Fixes
- es3 compatibility (#390) (ae24ec2)
- restore original hot reloading behaviour for locals (#419) (f026429)
- better handle source maps (#383) (84ec8e5)
Features
BREAKING CHANGES
- minimum required Node.js version is
8.9.0 - minimum required
wepbackversion is4.0.0 - the
convertToAbsoluteUrlsoption was removed, you don't need this anymore - the
attrsoption was renamed to theattributesoption - the
transformoption was removed without replacement - the
hmroption was removed,webpackautomatically inject HMR code when it is required (when theHotModuleReplacementPluginplugin was used) - the
sourceMapoption was removed. The loader automatically inject source maps if the previous loader emit them - the
ref/unrefapi methods were removed foruseableloader, please use theuse/unuseapi methods - the
style-loader/urlloader was removed in favorinjectTypeoption (look the documentation about theinjectTypeoption) - the
style-loader/useableloader was removed in favorinjectTypeoption (look the documentation about theinjectTypeoption) - the
singletonoption was removed (look documentation about theinjectTypeoption) - the
insertAtoption was removed in favor theinsertoption (look the documentation about theinsertoption and examples) - the
insertIntooptions was removed in favor theinsertoption (look the documentation about theinsertoption and examples)
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate