Update dependency css-loader to v5
Created by: renovate[bot]
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
css-loader | ^3.6.0 -> ^5.0.1 |
Release Notes
webpack-contrib/css-loader
v5.0.1
v5.0.0
⚠ BREAKING CHANGES
- migrate on PostCSS 8
- runtime doesn't contain source maps code without
sourceMap: true
- returned value from the
getLocalIdent
escapes by default, theexportName
value is always unescaped - Auto enable icss modules for all files for which
/\.icss\.\w+$/i
(themodules.compileType
option isicss
) -
[emoji]
placeholder was deprecated -
icss
option was removed (it was deprecated previously)
Features
- allow named exports to have underscores in names (#1209) (747d62b)
- hide warning when you don't need handle
url()
/@import
(#1195) (dd52931) - improve error message (52412f6)
- reduce runtime (9f974be)
- add fallback if custom getLocalIdent returns
null
/undefined
(#1193) (0f95841)
v4.3.0
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 usewebpack://
protocol (#1169) (fb5c53d)
4.2.1 (2020-08-06)
Bug Fixes
- regression with the
exportOnlyLocals
option, nowlocals
are not exported under thelocals
name, it was big regression, we apologize for that (24c0a12)
v4.2.2
v4.2.1
v4.2.0
Features
4.1.1 (2020-07-30)
Bug Fixes
v4.1.1
v4.1.0
Features
Bug Fixes
v4.0.0
⚠ BREAKING CHANGES
- minimum required
Node.js
version is10.13.0
- minimum required
webpack
version is4.27.0
- the
esModule
option istrue
by default - default value of the
sourceMap
option depends on thedevtool
option -
icss
plugin disable by default, you need to setup themodules
option to enable it - the
modules
option istrue
by default for all files matching/\.module\.\w+$/i.test(filename)
regular expression,module.auto
istrue
by default - the
modules.context
option was renamed to themodules.localIdentContext
option - default the
modules.localIdentContext
value iscompiler.context
for themodule.getLocalIdent
option - the
modules.hashPrefix
option was renamed to themodules.localIdentHashPrefix
option - the
localsConvention
option was moved and renamed to themodules.exportLocalsConvention
option - the
getLocalIndent
option should be alwaysFunction
and should always returnString
value - the
onlyLocals
option was moved and renamed to themodules.exportOnlyLocals
option - function arguments of the
import
option were changed, it is nowfunction(url, media, resourcePath) {}
- inline syntax was changed, please write
~
before the file request, i.e. rewriteurl(~!!loader!package/img.png)
tourl(!!loader!~package/img.png)
Features
-
@value
supports importingurl()
(#1126) (7f49a0a) - improve
url()
resolving algorithm (bc19ddd) - named export for locals (#1108) (d139ec1)
- respected the
style
field from package.json (#1099) (edf5347) - support
file:
protocol (5604205) - support server relative URLs
Bug Fixes
- resolution algorithm, you don't need
~
inside packages innode_modules
(76f1480)
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.