Skip to content

Update dependency css-loader to v5

Warren Gifford requested to merge renovate/css-loader-5.x into main

Created by: renovate[bot]

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
css-loader ^3.6.0 -> ^5.0.1 age adoption passing confidence

Release Notes

webpack-contrib/css-loader

v5.0.1

Compare Source

v5.0.0

Compare Source

BREAKING CHANGES
  • migrate on PostCSS 8
  • runtime doesn't contain source maps code without sourceMap: true
  • returned value from the getLocalIdent escapes by default, the exportName value is always unescaped
  • Auto enable icss modules for all files for which /\.icss\.\w+$/i (the modules.compileType option is icss)
  • [emoji] placeholder was deprecated
  • icss option was removed (it was deprecated previously)
Features

v4.3.0

Compare Source

Features
Bug Fixes
  • line breaks in url function (88b8ddc)
4.2.2 (2020-08-24)
Bug Fixes
  • source maps generation, source from source maps are now relative to compiler.context and use webpack:// protocol (#​1169) (fb5c53d)
4.2.1 (2020-08-06)
Bug Fixes
  • regression with the exportOnlyLocals option, now locals are not exported under the locals name, it was big regression, we apologize for that (24c0a12)

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

Features
  • add module.type option, the icss option is deprecated (#​1150) (68f72af)
4.1.1 (2020-07-30)
Bug Fixes

v4.1.1

Compare Source

v4.1.0

Compare Source

Features
Bug Fixes

v4.0.0

Compare Source

BREAKING CHANGES
  • minimum required Node.js version is 10.13.0
  • minimum required webpack version is 4.27.0
  • the esModule option is true by default
  • default value of the sourceMap option depends on the devtool option
  • icss plugin disable by default, you need to setup the modules option to enable it
  • the modules option is true by default for all files matching /\.module\.\w+$/i.test(filename) regular expression, module.auto is true by default
  • the modules.context option was renamed to the modules.localIdentContext option
  • default the modules.localIdentContext value is compiler.context for the module.getLocalIdent option
  • the modules.hashPrefix option was renamed to the modules.localIdentHashPrefix option
  • the localsConvention option was moved and renamed to the modules.exportLocalsConvention option
  • the getLocalIndent option should be always Function and should always return String value
  • the onlyLocals option was moved and renamed to the modules.exportOnlyLocals option
  • function arguments of the import option were changed, it is now function(url, media, resourcePath) {}
  • inline syntax was changed, please write ~ before the file request, i.e. rewrite url(~!!loader!package/img.png) to url(!!loader!~package/img.png)
Features
Bug Fixes
  • resolution algorithm, you don't need ~ inside packages in node_modules (76f1480)

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 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.


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

Merge request reports

Loading