Skip to content

chore(deps): update dependency style-loader to v3

Renovate requested to merge renovate/style-loader-3.x into master

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

Compare Source

v3.3.0

Compare Source

Features
  • added support for supports(), layer() and media from @import at-rules (b9a600c)
  • allow to pass options to insert function through style.use() (#​535) (f8ef63b)
3.2.1 (2021-07-20)
Bug Fixes
  • added the styletagtransform option when it is a module to addBuildDependency (#​528) (270513f)

v3.2.1

Compare Source

v3.2.0

Compare Source

Features
Bug Fixes
  • added the insert option when it is a module to addBuildDependency (#​527) (3963c0b)

v3.1.0

Compare Source

Features
  • allow to specify the insert option from file, we strongly recommend do it, using the insert option from file will reduce your bundle size, example (#​521) (56fc8f0)
  • allow to specify the styleTagTransform option from file, we strongly recommend do it, using the styleTagTransform option from file will reduce your bundle size, example
Bug Fixes

v3.0.0

Compare Source

BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0
  • minimum supported webpack version is 5.0.0
  • the modules.namedExport option was removed, you don't need it anymore, because we respect the modules.namedExport option from css-loader (we just reexport all from css-loader), just remove it
  • the styleTag value of the injectType (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 setting autoStyleTag value for the injectType option (do the same for lazyStyleTag, i.e. change it to lazyAutoStyleTag)
Features
  • added autoStyleTag and lazyAutoStyleTag values for the injectType option for compatibility of work modern and IE8-IE9 browsers
  • added styleTagTransform option 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

Compare Source

BREAKING CHANGES
  • minimum supported Node.js version is 10.13.0
  • the 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)
  • removed support for loaders returning String instead of Array (#​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

Compare Source

Features
Bug Fixes
1.2.1 (2020-04-28)
Bug Fixes

v1.2.1

Compare Source

v1.2.0

Compare Source

Features
  • hot module replacement for css modules (6d14e0a)
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
Bug Fixes
1.0.2 (2019-12-17)
Bug Fixes
1.0.1 (2019-11-28)
Bug Fixes

v1.0.2

Compare Source

v1.0.1

Compare Source

v1.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • minimum required Node.js version is 8.9.0
  • minimum required wepback version is 4.0.0
  • the convertToAbsoluteUrls option was removed, you don't need this anymore
  • the attrs option was renamed to the attributes option
  • the transform option was removed without replacement
  • the hmr option was removed, webpack automatically inject HMR code when it is required (when the HotModuleReplacementPlugin plugin was used)
  • the sourceMap option was removed. The loader automatically inject source maps if the previous loader emit them
  • the ref/unref api methods were removed for useable loader, please use the use/unuse api methods
  • the style-loader/url loader was removed in favor injectType option (look the documentation about the injectType option)
  • the style-loader/useable loader was removed in favor injectType option (look the documentation about the injectType option)
  • the singleton option was removed (look documentation about the injectType option)
  • the insertAt option was removed in favor the insert option (look the documentation about the insert option and examples)
  • the insertInto options was removed in favor the insert option (look the documentation about the insert option and examples)

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate

Merge request reports