fix(deps): update dependency style-loader to v4 #35860
Merged
+12
−32
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:
0.23.1
->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.v1.3.0
Compare Source
Features
modules.namedExport
(#485) (15889db)Bug Fixes
btoa
exists for old IE versions (#479) (732ef8b)1.2.1 (2020-04-28)
Bug Fixes
v1.2.1
Compare Source
v1.2.0
Compare Source
Features
1.1.4 (2020-04-15)
v1.1.4
Compare Source
v1.1.3
Compare Source
v1.1.2
Compare Source
v1.1.1
Compare Source
v1.1.0
Compare Source
Features
esModule
option (#441) (3415266)Bug Fixes
1.0.2 (2019-12-17)
Bug Fixes
1.0.1 (2019-11-28)
Bug Fixes
linkTag
with ES module syntax (#429) (2cdb9c3)v1.0.2
Compare Source
v1.0.1
Compare Source
v1.0.0
Compare Source
Bug Fixes
Features
injectType
option (e2664e9)text/css
from style and link element (#399) (b0187d6)BREAKING CHANGES
8.9.0
wepback
version is4.0.0
convertToAbsoluteUrls
option was removed, you don't need this anymoreattrs
option was renamed to theattributes
optiontransform
option was removed without replacementhmr
option was removed,webpack
automatically inject HMR code when it is required (when theHotModuleReplacementPlugin
plugin was used)sourceMap
option was removed. The loader automatically inject source maps if the previous loader emit themref
/unref
api methods were removed foruseable
loader, please use theuse
/unuse
api methodsstyle-loader/url
loader was removed in favorinjectType
option (look the documentation about theinjectType
option)style-loader/useable
loader was removed in favorinjectType
option (look the documentation about theinjectType
option)singleton
option was removed (look documentation about theinjectType
option)insertAt
option was removed in favor theinsert
option (look the documentation about theinsert
option and examples)insertInto
options was removed in favor theinsert
option (look the documentation about theinsert
option and examples)Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone America/New_York, 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.