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.
closes: #2746
https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md
4.3.0 (2020-09-08)
Features
importLoaders
can bestring
(#1178) (ec58a7c)Bug Fixes
url
function (88b8ddc)4.2.1 (2020-08-06)
Bug Fixes
exportOnlyLocals
option, nowlocals
are not exported under thelocals
name, it was big regression, we apologize for that (24c0a12)4.2.0 (2020-07-31)
Features
module.type
option, theicss
option is deprecated (#1150) (68f72af)4.1.1 (2020-07-30)
Bug Fixes
console
call (#1148) (b1b90ca)4.1.0 (2020-07-29)
Features
icss
option (#1140) (a8ec7da)Bug Fixes
data
URLs (#1142) (91bc64b)4.0.0 (2020-07-25)
⚠ BREAKING CHANGES
Node.js
version is10.13.0
webpack
version is4.27.0
esModule
option istrue
by defaultsourceMap
option depends on thedevtool
optionicss
plugin disable by default, you need to setup themodules
option to enable itmodules
option istrue
by default for all files matching/\.module\.\w+$/i.test(filename)
regular expression,module.auto
istrue
by defaultmodules.context
option was renamed to themodules.localIdentContext
optionmodules.localIdentContext
value iscompiler.context
for themodule.getLocalIdent
optionmodules.hashPrefix
option was renamed to themodules.localIdentHashPrefix
optionlocalsConvention
option was moved and renamed to themodules.exportLocalsConvention
optiongetLocalIndent
option should be alwaysFunction
and should always returnString
valueonlyLocals
option was moved and renamed to themodules.exportOnlyLocals
optionimport
option were changed, it is nowfunction(url, media, resourcePath) {}
~
before the file request, i.e. rewriteurl(~!!loader!package/img.png)
tourl(!!loader!~package/img.png)
Features
@value
supports importingurl()
(#1126) (7f49a0a)url()
resolving algorithm (bc19ddd)style
field from package.json (#1099) (edf5347)file:
protocol (5604205)Bug Fixes
~
inside packages innode_modules
(76f1480)3.6.0 (2020-06-13)
Features
modules.auto
to be a filter function (#1086) (0902353)