chore(deps): update dependency style-loader to v4 #2478
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.0->4.0.0Release Notes
webpack-contrib/style-loader (style-loader)
v4.0.0Compare Source
⚠ BREAKING CHANGES
5.27.018.12.0insertoption can only be a selector or the path to the moduleMigration:
Before:
webpack.config.js
After:
insert-function.js
webpack.config.js
styleTagTransformoption can only be the path to the moduleMigration:
Before:
webpack.config.js
After:
style-tag-transform-function.js
webpack.config.js
Bug Fixes
3.3.3 (2023-05-19)
Bug Fixes
3.3.2 (2023-03-13)
Bug Fixes
3.3.1 (2021-10-21)
Bug Fixes
v3.3.4Compare Source
3.3.4 (2024-01-09)
Bug Fixes
v3.3.3Compare Source
v3.3.2Compare Source
v3.3.1Compare Source
v3.3.0Compare Source
Features
supports(),layer()andmediafrom@importat-rules (b9a600c)insertfunction throughstyle.use()(#535) (f8ef63b)3.2.1 (2021-07-20)
Bug Fixes
styletagtransformoption when it is a module toaddBuildDependency(#528) (270513f)v3.2.1Compare Source
v3.2.0Compare Source
Features
Bug Fixes
insertoption when it is a module toaddBuildDependency(#527) (3963c0b)v3.1.0Compare Source
Features
insertoption from file, we strongly recommend do it, using theinsertoption from file will reduce your bundle size, example (#521) (56fc8f0)styleTagTransformoption from file, we strongly recommend do it, using thestyleTagTransformoption from file will reduce your bundle size, exampleBug Fixes
v3.0.0Compare Source
⚠ BREAKING CHANGES
Node.jsversion is12.13.0webpackversion is5.0.0modules.namedExportoption was removed, you don't need it anymore, because we respect themodules.namedExportoption fromcss-loader(we just reexport all fromcss-loader), just remove itstyleTagvalue 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
autoStyleTagandlazyAutoStyleTagvalues for theinjectTypeoption for compatibility of work modern and IE8-IE9 browsersstyleTagTransformoption for custom processing style tags (useful if you need ponyfill CSS custom properties for IE8-IE10)v2.0.0Compare Source
⚠ BREAKING CHANGES
Node.jsversion is10.13.0esModuleoption istrueby default, you need to changeconst locals = require('./styles.css')/require('./styles.css')onimport locals from './styles.css'/import './styles.css''(#489) (727a24d)Stringinstead ofArray(#491) (7a0ce4c)⚠ NOTICE
To avoid problems between
style-loaderandmini-css-extract-pluginbecause of changing theesModuleoption totrueby default we strongly recommend upgradingmini-css-extract-pluginto1.0.0version.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.