css-loader
Advanced tools
Changelog
3.0.0 (2019-06-11)
Function
behavior for url
and import
options (#939) (e9eb5ad)@value
at-rule in selectors (#941) (05a42e2)@value
at rules now support in selector
, recommends checking all @values
at-rule usage (hint: you can add prefix to all @value
at-rules, for example @value v-foo: black;
or @value m-foo: screen and (max-width: 12450px)
, and then do upgrade){Function}
behavior for url
and import
options (need return true
when you want handle url
/@import
and return false
if not)camelCase
option was remove in favor localsConvention
option, also it is accept only {String}
value (use camelCase
value if you previously value was true
and asIs
if you previously value was false
)exportOnlyLocals
option was remove in favor onlyLocals
optionmodules
option now can be {Object}
and allow to setup CSS Modules
options:
localIdentName
option was removed in favor modules.localIdentName
optioncontext
option was remove in favor modules.context
optionhashPrefix
option was removed in favor modules.hashPrefix
optiongetLocalIdent
option was removed in favor modules.getLocalIdent
optionlocalIdentRegExp
option was removed in favor modules.localIdentRegExp
option<a name="2.1.1"></a>