Releases: webpack-contrib/css-loader
Releases · webpack-contrib/css-loader
v5.2.0
5.2.0 (2021-03-24)
Features
- support async functions for
url
and import
options (#1277) (c5062db)
v5.1.4
5.1.4 (2021-03-24)
Bug Fixes
v5.1.3
5.1.3 (2021-03-15)
Bug Fixes
- the
auto
option works using inline module syntax (#1274) (1db2f4d)
- ident generation for CSS modules using inline module syntax (#1274) (1db2f4d)
v5.1.2
5.1.2 (2021-03-10)
Bug Fixes
- handling
@import
with spaces before and after and any extensions (#1272) (0c47cf7)
- inline loader syntax in
@import
and modules (3f49ed0)
v5.1.1
5.1.1 (2021-03-01)
Bug Fixes
v5.1.0
5.1.0 (2021-02-25)
Features
v5.0.2
5.0.2 (2021-02-08)
Bug Fixes
v5.0.1
5.0.1 (2020-11-04)
Bug Fixes
- sources in source maps have relative paths (#1219) (3229b3c)
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, the exportName
value is always unescaped
- Auto enable icss modules for all files for which
/\.icss\.\w+$/i
is true
(the modules.compileType
option is icss
)
[emoji]
placeholder was deprecated
- the
icss
option was removed (it was deprecated previously)
Features
- allowed named exports to have underscores in names (#1209) (747d62b)
- no warnings when you don't need handle
url()
/@import
(#1195) (dd52931)
- improved error message (52412f6)
- reduced runtime (9f974be)
- added fallback if custom getLocalIdent returns
null
/undefined
(#1193) (0f95841)
v4.3.0
4.3.0 (2020-09-08)
Features
Bug Fixes
- line breaks in the
url
function (88b8ddc)