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.0
Release Notes
webpack-contrib/style-loader (style-loader)
v4.0.0
Compare Source
⚠ BREAKING CHANGES
5.27.0
18.12.0
insert
option can only be a selector or the path to the moduleMigration:
Before:
webpack.config.js
After:
insert-function.js
webpack.config.js
styleTagTransform
option 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.4
Compare Source
3.3.4 (2024-01-09)
Bug Fixes
v3.3.3
Compare Source
v3.3.2
Compare Source
v3.3.1
Compare Source
v3.3.0
Compare Source
Features
supports()
,layer()
andmedia
from@import
at-rules (b9a600c)insert
function throughstyle.use()
(#535) (f8ef63b)3.2.1 (2021-07-20)
Bug Fixes
styletagtransform
option when it is a module toaddBuildDependency
(#528) (270513f)v3.2.1
Compare Source
v3.2.0
Compare Source
Features
Bug Fixes
insert
option when it is a module toaddBuildDependency
(#527) (3963c0b)v3.1.0
Compare Source
Features
insert
option from file, we strongly recommend do it, using theinsert
option from file will reduce your bundle size, example (#521) (56fc8f0)styleTagTransform
option from file, we strongly recommend do it, using thestyleTagTransform
option from file will reduce your bundle size, exampleBug Fixes
v3.0.0
Compare Source
⚠ BREAKING CHANGES
Node.js
version is12.13.0
webpack
version is5.0.0
modules.namedExport
option was removed, you don't need it anymore, because we respect themodules.namedExport
option fromcss-loader
(we just reexport all fromcss-loader
), just remove itstyleTag
value 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 settingautoStyleTag
value for theinjectType
option (do the same forlazyStyleTag
, i.e. change it tolazyAutoStyleTag
)Features
autoStyleTag
andlazyAutoStyleTag
values for theinjectType
option for compatibility of work modern and IE8-IE9 browsersstyleTagTransform
option for custom processing style tags (useful if you need ponyfill CSS custom properties for IE8-IE10)v2.0.0
Compare Source
⚠ BREAKING CHANGES
Node.js
version is10.13.0
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)String
instead ofArray
(#491) (7a0ce4c)⚠ NOTICE
To avoid problems between
style-loader
andmini-css-extract-plugin
because of changing theesModule
option totrue
by default we strongly recommend upgradingmini-css-extract-plugin
to1.0.0
version.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: Never, 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.