webpack-contrib/css-loader (css-loader)
### [`v6.11.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#6110-2024-04-03)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.10.0...v6.11.0)
##### Features
- supports multiple composes ([#1582](https://togithub.com/webpack-contrib/css-loader/issues/1582)) ([bbca614](https://togithub.com/webpack-contrib/css-loader/commit/bbca61411dc5f82964653a6d1aa27854519b743d))
##### Bug Fixes
- do not break `@scope` at-rule without params ([#1581](https://togithub.com/webpack-contrib/css-loader/issues/1581)) ([e022e3b](https://togithub.com/webpack-contrib/css-loader/commit/e022e3bb405472ac7d51ff1114783fc2811dfe04))
### [`v6.10.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#6100-2024-01-30)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.9.1...v6.10.0)
##### Features
- add `@rspack/core` as an optional peer dependency ([#1568](https://togithub.com/webpack-contrib/css-loader/issues/1568)) ([3924679](https://togithub.com/webpack-contrib/css-loader/commit/3924679cb9a8f31996c742290a71a3446c9782b9))
- pass the `resourceQuery` and `resourceFragment` to the `auto` and `mode` callback ([#1569](https://togithub.com/webpack-contrib/css-loader/issues/1569)) ([d641c4d](https://togithub.com/webpack-contrib/css-loader/commit/d641c4d48264518dfeb77d7e1e8ef03bbb09b645))
- support named exports with any characters ([6f43929](https://togithub.com/webpack-contrib/css-loader/commit/6f439299838eab7e6fb18f6e9f47b9dee2208463))
##### [6.9.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.9.0...v6.9.1) (2024-01-18)
##### Bug Fixes
- css nesting support
- `@scope` at-rule support
### [`v6.9.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#691-2024-01-18)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.9.0...v6.9.1)
### [`v6.9.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#690-2024-01-09)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.8.1...v6.9.0)
##### Features
- updated generateExportEntry to expose node details ([#1556](https://togithub.com/webpack-contrib/css-loader/issues/1556)) ([05002f3](https://togithub.com/webpack-contrib/css-loader/commit/05002f39e29afd7e12f9efca4d073bc23e3d2150))
##### Bug Fixes
- css experiment detection ([#1559](https://togithub.com/webpack-contrib/css-loader/issues/1559)) ([f2cfe30](https://togithub.com/webpack-contrib/css-loader/commit/f2cfe30a8f6b0053a268c0d9c1943bb3c8f01338))
##### [6.8.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.8.0...v6.8.1) (2023-05-28)
##### Bug Fixes
- use `cause` for original errors and warnings ([#1526](https://togithub.com/webpack-contrib/css-loader/issues/1526)) ([ae3d8ae](https://togithub.com/webpack-contrib/css-loader/commit/ae3d8ae54ecb5706fe9c3449487cc8306699469f))
### [`v6.8.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#681-2023-05-28)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.8.0...v6.8.1)
### [`v6.8.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#680-2023-05-27)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.4...v6.8.0)
##### Features
- use template literal when it possible to prevent `Maximum call stack size exceeded` ([#1525](https://togithub.com/webpack-contrib/css-loader/issues/1525)) ([6eb5661](https://togithub.com/webpack-contrib/css-loader/commit/6eb56618185e974abf339c952c263cc7b8a9a066))
##### Bug Fixes
- warning and error serialization ([#1523](https://togithub.com/webpack-contrib/css-loader/issues/1523)) ([3e52969](https://togithub.com/webpack-contrib/css-loader/commit/3e52969f0f6b1c9d4d16db41ebff8804b340742c))
##### [6.7.4](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.3...v6.7.4) (2023-05-19)
##### Bug Fixes
- bugs in css modules ([c3099fb](https://togithub.com/webpack-contrib/css-loader/commit/c3099fb0cf03927f879f911ab5f51d9edc20d871))
- output warning when built-in CSS support enabled ([#1520](https://togithub.com/webpack-contrib/css-loader/issues/1520)) ([0700ce8](https://togithub.com/webpack-contrib/css-loader/commit/0700ce8cfab2f25d538eaa2309ae80e1a097a6c1))
##### [6.7.3](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.2...v6.7.3) (2022-12-14)
##### Bug Fixes
- remove `sourceURL` from emitted CSS ([#1487](https://togithub.com/webpack-contrib/css-loader/issues/1487)) ([962924c](https://togithub.com/webpack-contrib/css-loader/commit/962924c79e274be9f6f81d39eac651c1a4876bc2))
##### [6.7.2](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.1...v6.7.2) (2022-11-13)
##### Bug Fixes
- css modules generation with inline syntax ([#1480](https://togithub.com/webpack-contrib/css-loader/issues/1480)) ([2f4c273](https://togithub.com/webpack-contrib/css-loader/commit/2f4c27399fdadace5af221ae8df95a36642a377e))
##### [6.7.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.0...v6.7.1) (2022-03-08)
##### Bug Fixes
- defaultGetLocalIdent export ([#1427](https://togithub.com/webpack-contrib/css-loader/issues/1427)) ([74dac1e](https://togithub.com/webpack-contrib/css-loader/commit/74dac1e428569236d386ff4e0f971e35c334087a))
### [`v6.7.4`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#674-2023-05-19)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.3...v6.7.4)
### [`v6.7.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#673-2022-12-14)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.2...v6.7.3)
### [`v6.7.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#672-2022-11-13)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.1...v6.7.2)
### [`v6.7.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#671-2022-03-08)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.0...v6.7.1)
### [`v6.7.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#670-2022-03-04)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.6.0...v6.7.0)
##### Features
- re-export defaultGetLocalIdent ([#1423](https://togithub.com/webpack-contrib/css-loader/issues/1423)) ([207cf36](https://togithub.com/webpack-contrib/css-loader/commit/207cf36d541423f12a8d6680b21530c52a2f07d5))
### [`v6.6.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#660-2022-02-02)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.5.1...v6.6.0)
##### Features
- added the `hashStrategy` option ([ca4abce](https://togithub.com/webpack-contrib/css-loader/commit/ca4abce74d01bc13959e30a4dbbd1ca3a0516d72))
##### [6.5.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.5.0...v6.5.1) (2021-11-03)
##### Bug Fixes
- regression with unicode characters in locals ([b7a8441](https://togithub.com/webpack-contrib/css-loader/commit/b7a84414fb3f6e6ff413cbbb7004fa74a78da331))
- runtime path generation ([#1393](https://togithub.com/webpack-contrib/css-loader/issues/1393)) ([feafea8](https://togithub.com/webpack-contrib/css-loader/commit/feafea812a95db05e9b52beaced0def611bba5c8))
### [`v6.5.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#651-2021-11-03)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.5.0...v6.5.1)
### [`v6.5.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#650-2021-10-26)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.4.0...v6.5.0)
##### Features
- support absolute URL in `url()` when `experiments.buildHttp` enabled ([#1389](https://togithub.com/webpack-contrib/css-loader/issues/1389)) ([8946be4](https://togithub.com/webpack-contrib/css-loader/commit/8946be4d0f2c0237cd5fa846d67d469ff20058a4))
##### Bug Fixes
- respect `nosources` in the `devtool` option ([c60eff2](https://togithub.com/webpack-contrib/css-loader/commit/c60eff212337c8a65995f6675d25f49bb515e77d))
### [`v6.4.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#640-2021-10-09)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.3.0...v6.4.0)
##### Features
- generate more collision resistant for locals ([c7db752](https://togithub.com/webpack-contrib/css-loader/commit/c7db752fe6a9c7ff28d165fd24a37be08ef83af5))
##### Bug Fixes
- classes generation for client and server bundling ([303a3a1](https://togithub.com/webpack-contrib/css-loader/commit/303a3a171793cf1044c131e291f5c29f9ab86c77))
### [`v6.3.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#630-2021-09-18)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.2.0...v6.3.0)
##### Features
- added `[folder]` placeholder ([a0dee4f](https://togithub.com/webpack-contrib/css-loader/commit/a0dee4fd34dd1b9892dac7645a4e57ec134e561b))
- added the `exportType` option with `'array'`, `'string'` and `'css-style-sheet'` values ([c6d2066](https://togithub.com/webpack-contrib/css-loader/commit/c6d20664ca03226ace26b9766e484e437ec74f60))
- `'array'` - the default export is `Array` with API for `style-loader` and other
- `'string'` - the default export is `String` you don't need [`to-string-loader`](https://www.npmjs.com/package/to-string-loader) loader anymore
- `'css-style-sheet'` - the default export is a [`constructable stylesheet`](https://developers.google.com/web/updates/2019/02/constructable-stylesheets), you can use `import sheet from './styles.css' assert { type: 'css' };` like in a browser, more information you can find [here](https://togithub.com/webpack-contrib/css-loader#css-style-sheet)
- supported `supports()` and `layer()` functions in `@import` at-rules ([#1377](https://togithub.com/webpack-contrib/css-loader/issues/1377)) ([bce2c17](https://togithub.com/webpack-contrib/css-loader/commit/bce2c17524290591be243829187f909a0ae5a6f7))
- fix multiple merging multiple `@media` at-rules ([#1377](https://togithub.com/webpack-contrib/css-loader/issues/1377)) ([bce2c17](https://togithub.com/webpack-contrib/css-loader/commit/bce2c17524290591be243829187f909a0ae5a6f7))
##### Bug Fixes
- reduce runtime ([#1378](https://togithub.com/webpack-contrib/css-loader/issues/1378)) ([cf3a3a7](https://togithub.com/webpack-contrib/css-loader/commit/cf3a3a7346aa73637ee6aae6fef5648965c31a47))
### [`v6.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#620-2021-07-19)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.1.0...v6.2.0)
##### Features
- allow the `exportLocalsConvention` option can be a function, useful for named export ([#1351](https://togithub.com/webpack-contrib/css-loader/issues/1351)) ([3c4b357](https://togithub.com/webpack-contrib/css-loader/commit/3c4b35718273baaf9e0480db715b596fbe5d7453))
### [`v6.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#610-2021-07-17)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.0.0...v6.1.0)
##### Features
- add `link` in schema ([#1345](https://togithub.com/webpack-contrib/css-loader/issues/1345)) ([7d4e493](https://togithub.com/webpack-contrib/css-loader/commit/7d4e4931390f9e9356af45ae03057d1505d73109))
##### Bug Fixes
- respect the `localIdentRegExp` option ([#1349](https://togithub.com/webpack-contrib/css-loader/issues/1349)) ([42f150b](https://togithub.com/webpack-contrib/css-loader/commit/42f150b429afad9b0851d2e6bd75cec120885aa4))
### [`v6.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#600-2021-07-14)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.7...v6.0.0)
##### Notes
- using `~` is deprecated when the `esModules` option is enabled (enabled by default) and can be removed from your code (**we recommend it**) (`url(~package/image.png)` -> `url(package/image.png)`, `@import url(~package/style.css)` -> `@import url(package/style.css)`, `composes: import from '~package/one.css';` -> `composes: import from 'package/one.css';`), but we still support it for historical reasons. Why can you remove it? The loader will first try to resolve `@import`/`url()`/etc as relative, if it cannot be resolved, the loader will try to resolve `@import`/`url()`/etc inside [`node_modules` or modules directories](https://webpack.js.org/configuration/resolve/#resolvemodules).
- `file-loader` and `url-loader` are deprecated, please migrate on [`asset modules`](https://webpack.js.org/guides/asset-modules/), since v6 `css-loader` is generating `new URL(...)` syntax, it enables by default built-in [`assets modules`](https://webpack.js.org/guides/asset-modules/), i.e. `type: 'asset'` for all `url()`
##### ⚠ BREAKING CHANGES
- minimum supported `Node.js` version is `12.13.0`
- minimum supported `webpack` version is `5`, we recommend to update to the latest version for better performance
- for `url` and `import` options `Function` type was removed in favor `Object` type with the `filter` property, i.e. before `{ url: () => true }`, now `{ url: { filter: () => true } }` and before `{ import: () => true }`, now `{ import: { filter: () => true } }`
- the `modules.compileType` option was removed in favor the `modules.mode` option with `icss` value, also the `modules` option can have `icss` string value
- `new URL()` syntax used for `url()`, only when the `esModules` option is enabled (enabled by default), it means you can bundle CSS for libraries
- [data URI](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are handling in `url()`, it means you can register loaders for them, [example](https://webpack.js.org/configuration/module/#rulescheme)
- aliases with `false` value for `url()` now generate empty data URI (i.e. `data:0,`), only when the `esModules` option is enabled (enabled by default)
- `[ext]` placeholder don't need `.` (dot) before for the `localIdentName` option, i.e. please change `.[ext]` on `[ext]` (no dot before)
- `[folder]` placeholder was removed without replacement for the `localIdentName` option, please use a custom function if you need complex logic
- `[emoji]` placeholder was removed without replacement for the `localIdentName` option, please use a custom function if you need complex logic
- the `localIdentHashPrefix` was removed in favor the `localIdentHashSalt` option
##### Features
- supported [`resolve.byDependency.css`](https://webpack.js.org/configuration/resolve/#resolvebydependency) resolve options for `@import`
- supported [`resolve.byDependency.icss`](https://webpack.js.org/configuration/resolve/#resolvebydependency) resolve CSS modules and ICSS imports (i.e. `composes`/etc)
- added `modules.localIdentHashFunction`, `modules.localIdentHashDigest`, `modules.localIdentHashDigestLength` options for better class hashing controlling
- less dependencies
##### Bug Fixes
- better performance
- fixed circular `@import`
##### Notes
- **we strongly recommend not to add `.css` to `resolve.extensions`, it reduces performance and in most cases it is simply not necessary, alternative you can set resolve options [by dependency](https://webpack.js.org/configuration/resolve/#resolvebydependency)**
##### [5.2.7](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.6...v5.2.7) (2021-07-13)
##### Bug Fixes
- fix crash when source map is unavailable with external URL in `[@import](https://togithub.com/import)` ([bb76fe4](https://togithub.com/webpack-contrib/css-loader/commit/bb76fe48a198e74cacf29ad4b1c01d485f4db11f))
##### [5.2.6](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.5...v5.2.6) (2021-05-24)
##### Bug Fixes
- always write locals export when css modules/icss enabled ([#1315](https://togithub.com/webpack-contrib/css-loader/issues/1315)) ([075d9bd](https://togithub.com/webpack-contrib/css-loader/commit/075d9bd044a78543479cbf10ccd3c386a3e434e6))
##### [5.2.5](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.4...v5.2.5) (2021-05-20)
##### Bug Fixes
- compatibility with named export and es5 ([#1314](https://togithub.com/webpack-contrib/css-loader/issues/1314)) ([0cf8cde](https://togithub.com/webpack-contrib/css-loader/commit/0cf8cdedd8667b1ba13d3b4322087943a25176f6))
##### [5.2.4](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.3...v5.2.4) (2021-04-19)
##### Bug Fixes
- do not crash on 'false' aliases ([#1292](https://togithub.com/webpack-contrib/css-loader/issues/1292)) ([e913cb1](https://togithub.com/webpack-contrib/css-loader/commit/e913cb1d73a4f5c3c4464e0446a885e9f677a005))
##### [5.2.3](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.2...v5.2.3) (2021-04-19)
##### Bug Fixes
- improve performance
##### [5.2.2](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.1...v5.2.2) (2021-04-16)
##### Bug Fixes
- avoid escape nonASCII characters in local names ([0722733](https://togithub.com/webpack-contrib/css-loader/commit/072273308a8ab4b7efdae31440689dc81978ca1d))
##### [5.2.1](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.0...v5.2.1) (2021-04-09)
##### Bug Fixes
- do not crash on unescaped svg data uri ([#1288](https://togithub.com/webpack-contrib/css-loader/issues/1288)) ([4f289c5](https://togithub.com/webpack-contrib/css-loader/commit/4f289c5e4df6c666fdf6dd3402560ae74d4bf7ee))
### [`v5.2.7`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#527-2021-07-13)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.6...v5.2.7)
### [`v5.2.6`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#526-2021-05-24)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.5...v5.2.6)
### [`v5.2.5`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#525-2021-05-20)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.4...v5.2.5)
### [`v5.2.4`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#524-2021-04-19)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.3...v5.2.4)
### [`v5.2.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#523-2021-04-19)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.2...v5.2.3)
### [`v5.2.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#522-2021-04-16)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.1...v5.2.2)
### [`v5.2.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#521-2021-04-09)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.0...v5.2.1)
### [`v5.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#520-2021-03-24)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.4...v5.2.0)
##### Features
- support async functions for `url` and `import` options ([#1277](https://togithub.com/webpack-contrib/css-loader/issues/1277)) ([c5062db](https://togithub.com/webpack-contrib/css-loader/commit/c5062db3fc849d882a07b9f2c9f66f00325c8896))
##### [5.1.4](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.3...v5.1.4) (2021-03-24)
##### Bug Fixes
- crash with thread-loader ([#1281](https://togithub.com/webpack-contrib/css-loader/issues/1281)) ([7095a7c](https://togithub.com/webpack-contrib/css-loader/commit/7095a7ca7d985d5447aed80cf3e41a4f8c19b954))
##### [5.1.3](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3) (2021-03-15)
##### Bug Fixes
- the `auto` option works using inline module syntax ([#1274](https://togithub.com/webpack-contrib/css-loader/issues/1274)) ([1db2f4d](https://togithub.com/webpack-contrib/css-loader/commit/1db2f4df3ff9ae8f0667a2304853c8e7cdd0afc1))
- ident generation for CSS modules using inline module syntax ([#1274](https://togithub.com/webpack-contrib/css-loader/issues/1274)) ([1db2f4d](https://togithub.com/webpack-contrib/css-loader/commit/1db2f4df3ff9ae8f0667a2304853c8e7cdd0afc1))
##### [5.1.2](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.1...v5.1.2) (2021-03-10)
##### Bug Fixes
- handling `@import` with spaces before and after and any extensions ([#1272](https://togithub.com/webpack-contrib/css-loader/issues/1272)) ([0c47cf7](https://togithub.com/webpack-contrib/css-loader/commit/0c47cf7ccbe3635900e8e8840650f69a7eca004d))
- inline loader syntax in `@import` and modules ([3f49ed0](https://togithub.com/webpack-contrib/css-loader/commit/3f49ed0864457f9467f560856377c890c392aee7))
##### [5.1.1](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.0...v5.1.1) (2021-03-01)
##### Bug Fixes
- crash on modified AST from `postcss-loader` ([#1268](https://togithub.com/webpack-contrib/css-loader/issues/1268)) ([d2a1a84](https://togithub.com/webpack-contrib/css-loader/commit/d2a1a84afc63fdfb2a4ce6668ed9f2d7f1ba56ca))
### [`v5.1.4`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#514-2021-03-24)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.3...v5.1.4)
### [`v5.1.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#513-2021-03-15)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3)
### [`v5.1.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#512-2021-03-10)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.1...v5.1.2)
### [`v5.1.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#511-2021-03-01)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.0...v5.1.1)
### [`v5.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#510-2021-02-25)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.2...v5.1.0)
##### Features
- added support webpackIgnore comment ([#1264](https://togithub.com/webpack-contrib/css-loader/issues/1264)) ([53d40a9](https://togithub.com/webpack-contrib/css-loader/commit/53d40a9bb35a79e6a15308bbb7a01358f39816df))
##### [5.0.2](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.1...v5.0.2) (2021-02-08)
##### Bug Fixes
- pass query with hash to other loaders ([#1261](https://togithub.com/webpack-contrib/css-loader/issues/1261)) ([729a314](https://togithub.com/webpack-contrib/css-loader/commit/729a314529cd0607c374b07bdf425337f9a778d4))
##### [5.0.1](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.0...v5.0.1) (2020-11-04)
##### Bug Fixes
- sources in source maps have relative paths ([#1219](https://togithub.com/webpack-contrib/css-loader/issues/1219)) ([3229b3c](https://togithub.com/webpack-contrib/css-loader/commit/3229b3cca3cb5d762daeff57239a965b06fd7593))
### [`v5.0.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#502-2021-02-08)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.1...v5.0.2)
### [`v5.0.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#501-2020-11-04)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.0...v5.0.1)
### [`v5.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#500-2020-10-13)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.3.0...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` (the `modules.compileType` option is `icss`)
- `[emoji]` placeholder was deprecated
- `icss` option was removed (it was deprecated previously)
##### Features
- allow named exports to have underscores in names ([#1209](https://togithub.com/webpack-contrib/css-loader/issues/1209)) ([747d62b](https://togithub.com/webpack-contrib/css-loader/commit/747d62b75a878d8881f4819b96297667dc689b8f))
- hide warning when you don't need handle `url()`/`@import` ([#1195](https://togithub.com/webpack-contrib/css-loader/issues/1195)) ([dd52931](https://togithub.com/webpack-contrib/css-loader/commit/dd52931150ed42f122d9017642437c26cc1b2422))
- improve error message ([52412f6](https://togithub.com/webpack-contrib/css-loader/commit/52412f6d5a54745ee37a4a67f038455c26ba5772))
- reduce runtime ([9f974be](https://togithub.com/webpack-contrib/css-loader/commit/9f974be81f5942d3afaf783529677bd541952fa3))
- add fallback if custom getLocalIdent returns `null`/`undefined` ([#1193](https://togithub.com/webpack-contrib/css-loader/issues/1193)) ([0f95841](https://togithub.com/webpack-contrib/css-loader/commit/0f9584135e63f9f354043e7f414e0c1aad0edc6e))
### [`v4.3.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#430-2020-09-08)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.2...v4.3.0)
##### Features
- the `importLoaders` can be `string` ([#1178](https://togithub.com/webpack-contrib/css-loader/issues/1178)) ([ec58a7c](https://togithub.com/webpack-contrib/css-loader/commit/ec58a7cfda46443e35539d66b86685195fa5db03))
##### Bug Fixes
- line breaks in `url` function ([88b8ddc](https://togithub.com/webpack-contrib/css-loader/commit/88b8ddc1d78a2b6a917ed2dfe2f2a37cf6a84190))
##### [4.2.2](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.1...v4.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](https://togithub.com/webpack-contrib/css-loader/issues/1169)) ([fb5c53d](https://togithub.com/webpack-contrib/css-loader/commit/fb5c53d80b10ee698762238bb7b122aec8c5048d))
##### [4.2.1](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.0...v4.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](https://togithub.com/webpack-contrib/css-loader/commit/24c0a122d1396c08326a24f6184f5da09cf52ccc))
### [`v4.2.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#422-2020-08-24)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.1...v4.2.2)
### [`v4.2.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#421-2020-08-06)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.0...v4.2.1)
### [`v4.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#420-2020-07-31)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.1.1...v4.2.0)
##### Features
- add `module.type` option, the `icss` option is deprecated ([#1150](https://togithub.com/webpack-contrib/css-loader/issues/1150)) ([68f72af](https://togithub.com/webpack-contrib/css-loader/commit/68f72af2a09111f74dcacbf7af019fe7eb40cb6c))
##### [4.1.1](https://togithub.com/webpack-contrib/css-loader/compare/v4.1.0...v4.1.1) (2020-07-30)
##### Bug Fixes
- remove unnecessary `console` call ([#1148](https://togithub.com/webpack-contrib/css-loader/issues/1148)) ([b1b90ca](https://togithub.com/webpack-contrib/css-loader/commit/b1b90caaea8eb045177749729340c7906454a84b))
### [`v4.1.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#411-2020-07-30)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.1.0...v4.1.1)
### [`v4.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#410-2020-07-29)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.0.0...v4.1.0)
##### Features
- add `icss` option ([#1140](https://togithub.com/webpack-contrib/css-loader/issues/1140)) ([a8ec7da](https://togithub.com/webpack-contrib/css-loader/commit/a8ec7da42234e0b2eb061d2a920669940bcbdf05))
- support absolute paths ([f9ba0ce](https://togithub.com/webpack-contrib/css-loader/commit/f9ba0ce11789770c4c9220478e9c98dbd432a5d6))
##### Bug Fixes
- do not crash with `data` URLs ([#1142](https://togithub.com/webpack-contrib/css-loader/issues/1142)) ([91bc64b](https://togithub.com/webpack-contrib/css-loader/commit/91bc64b81abfeffd174639a8fdf2366412c11426))
- performance ([#1144](https://togithub.com/webpack-contrib/css-loader/issues/1144)) ([4f1baa2](https://togithub.com/webpack-contrib/css-loader/commit/4f1baa211eb27b0b281ba9f262fa12e8aaefc0ba))
### [`v4.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#400-2020-07-25)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.6.0...v4.0.0)
##### ⚠ 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)`
- `url()` resolving algorithm now handles absolute paths instead of ignoring them. This can break builds which relied on absolute paths to refer to the asset directory. ([bc19ddd](https://togithub.com/webpack-contrib/css-loader/commit/bc19ddd8779dafbc2a420870a3cb841041ce9c7c))
##### Features
- `@value` supports importing `url()` ([#1126](https://togithub.com/webpack-contrib/css-loader/issues/1126)) ([7f49a0a](https://togithub.com/webpack-contrib/css-loader/commit/7f49a0a6047846bb2e432558365e19d4a0dfb366))
- improve `url()` resolving algorithm to support more path types ([bc19ddd](https://togithub.com/webpack-contrib/css-loader/commit/bc19ddd8779dafbc2a420870a3cb841041ce9c7c))
- named export for locals ([#1108](https://togithub.com/webpack-contrib/css-loader/issues/1108)) ([d139ec1](https://togithub.com/webpack-contrib/css-loader/commit/d139ec1d763f9944550b31f2a75183e488dd1224))
- respected the `style` field from package.json ([#1099](https://togithub.com/webpack-contrib/css-loader/issues/1099)) ([edf5347](https://togithub.com/webpack-contrib/css-loader/commit/edf5347e4203a62e50b87248a83da198afdc6eba))
- support `file:` protocol ([5604205](https://togithub.com/webpack-contrib/css-loader/commit/560420567eb0e1a635648b7f4ff0365db475384c))
- support server relative URLs
##### Bug Fixes
- resolution algorithm, you don't need `~` inside packages in `node_modules` ([76f1480](https://togithub.com/webpack-contrib/css-loader/commit/76f1480b14265369ac5dc8dbbce467cfb8e814c5))
### [`v3.6.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#360-2020-06-13)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.3...v3.6.0)
##### Features
- allow `modules.auto` to be a filter function ([#1086](https://togithub.com/webpack-contrib/css-loader/issues/1086)) ([0902353](https://togithub.com/webpack-contrib/css-loader/commit/0902353c328d4d18e8ed2755fe9c83c03c53df81))
##### [3.5.3](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.2...v3.5.3) (2020-04-24)
##### Bug Fixes
- add file from an error to file dependencies ([841423f](https://togithub.com/webpack-contrib/css-loader/commit/841423fca2932c18f8ac0cf0a1f0012fc0a62fb6))
- avoid query string in source maps ([#1082](https://togithub.com/webpack-contrib/css-loader/issues/1082)) ([f64de13](https://togithub.com/webpack-contrib/css-loader/commit/f64de13f7377eff9501348cf26213212ca696913))
##### [3.5.2](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.1...v3.5.2) (2020-04-10)
##### Bug Fixes
- schema for the `modules.auto` option ([#1075](https://togithub.com/webpack-contrib/css-loader/issues/1075)) ([8c9ffe7](https://togithub.com/webpack-contrib/css-loader/commit/8c9ffe7c6df11232b63173c757baa71ed36f6145))
##### [3.5.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.0...v3.5.1) (2020-04-07)
##### Bug Fixes
- don't generate an invalid code for `locals` ([#1072](https://togithub.com/webpack-contrib/css-loader/issues/1072)) ([866b84a](https://togithub.com/webpack-contrib/css-loader/commit/866b84acd7fd47651f741ca1e6cf7081c2bbe357))
### [`v3.5.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#353-2020-04-24)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.2...v3.5.3)
### [`v3.5.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#352-2020-04-10)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.1...v3.5.2)
### [`v3.5.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#351-2020-04-07)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.0...v3.5.1)
### [`v3.5.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#350-2020-04-06)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.2...v3.5.0)
##### Features
- accept semver compatible postcss AST ([#1049](https://togithub.com/webpack-contrib/css-loader/issues/1049)) ([14c4faa](https://togithub.com/webpack-contrib/css-loader/commit/14c4faae87305c9b965de4f468bb1e118f6b84cc))
- allow to determinate css modules using the `modules.auto` option, please look at an [example](https://togithub.com/webpack-contrib/css-loader#pure-css-css-modules-and-postcss) of how you can simplify the configuration. ([#1067](https://togithub.com/webpack-contrib/css-loader/issues/1067)) ([c673cf4](https://togithub.com/webpack-contrib/css-loader/commit/c673cf418e901c5050bc697eb45401dc9a42c477))
- the `modules.exportGlobals` option for export global classes and ids ([#1069](https://togithub.com/webpack-contrib/css-loader/issues/1069)) ([519e5f4](https://togithub.com/webpack-contrib/css-loader/commit/519e5f41539f4c87ec96db0a908aaadecc284a6c))
- the `modules.mode` option may be a function ([#1065](https://togithub.com/webpack-contrib/css-loader/issues/1065)) ([0d8ac3b](https://togithub.com/webpack-contrib/css-loader/commit/0d8ac3bcb831bc747657c914aba106b93840737e))
##### [3.4.2](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.1...v3.4.2) (2020-01-10)
##### Bug Fixes
- do not duplicate css on `composes` ([#1040](https://togithub.com/webpack-contrib/css-loader/issues/1040)) ([df79602](https://togithub.com/webpack-contrib/css-loader/commit/df7960277be20ec80e9be1a41ac53baf69847fa0))
##### [3.4.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.0...v3.4.1) (2020-01-03)
##### Bug Fixes
- do not output `undefined` when sourceRoot is unavailable ([#1036](https://togithub.com/webpack-contrib/css-loader/issues/1036)) ([ded2a79](https://togithub.com/webpack-contrib/css-loader/commit/ded2a797271f2adf864bf92300621c024974bc79))
- don't output invalid es5 code when locals do not exists ([#1035](https://togithub.com/webpack-contrib/css-loader/issues/1035)) ([b60e62a](https://togithub.com/webpack-contrib/css-loader/commit/b60e62a655719cc1779fae7d577af6ad6cf42135))
### [`v3.4.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#342-2020-01-10)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.1...v3.4.2)
### [`v3.4.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#341-2020-01-03)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.0...v3.4.1)
### [`v3.4.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#340-2019-12-17)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0)
##### Features
- `esModule` option ([#1026](https://togithub.com/webpack-contrib/css-loader/issues/1026)) ([d358cdb](https://togithub.com/webpack-contrib/css-loader/commit/d358cdbe2c026afafa0279003cb6c8a3eff4c419))
##### Bug Fixes
- logic for order and media queries for imports ([#1018](https://togithub.com/webpack-contrib/css-loader/issues/1018)) ([65450d9](https://togithub.com/webpack-contrib/css-loader/commit/65450d9c04790ccc9fb06eac81ea6d8f3cdbfaac))
##### [3.3.2](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.1...v3.3.2) (2019-12-12)
##### Bug Fixes
- logic for order and media queries for imports ([1fb5134](https://togithub.com/webpack-contrib/css-loader/commit/1fb51340a7719b6f5b517cb71ea85ec5d45c1199))
##### [3.3.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.0...v3.3.1) (2019-12-12)
##### Bug Fixes
- better handling url functions and an url in `@import` at-rules
- reduce count of `require` ([#1014](https://togithub.com/webpack-contrib/css-loader/issues/1014)) ([e091d27](https://togithub.com/webpack-contrib/css-loader/commit/e091d2709c29ac57ed0106af8ec3b581cbda7a9c))
### [`v3.3.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#332-2019-12-12)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.1...v3.3.2)
### [`v3.3.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#331-2019-12-12)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.0...v3.3.1)
### [`v3.3.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#330-2019-12-09)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.2.1...v3.3.0)
##### Features
- support `pure` css modules ([#1008](https://togithub.com/webpack-contrib/css-loader/issues/1008)) ([6177af5](https://togithub.com/webpack-contrib/css-loader/commit/6177af5596566fead13a8f66d5abcb4dc2b744db))
##### Bug Fixes
- do not crash when an assert return `null` or `undefined` ([#1006](https://togithub.com/webpack-contrib/css-loader/issues/1006)) ([6769783](https://togithub.com/webpack-contrib/css-loader/commit/67697833725e1cff12a14663390bbe4c65ea36d2))
- reduce count of `require` ([#1004](https://togithub.com/webpack-contrib/css-loader/issues/1004)) ([80e9662](https://togithub.com/webpack-contrib/css-loader/commit/80e966280f2477c5c0e4553d3be3a04511fea381))
##### [3.2.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.2.0...v3.2.1) (2019-12-02)
##### Bug Fixes
- add an additional space after the escape sequence ([#998](https://togithub.com/webpack-contrib/css-loader/issues/998)) ([0961304](https://togithub.com/webpack-contrib/css-loader/commit/0961304020832fc9ca70cc708f4366e1f868e765))
- compatibility with ES modules syntax and hash in `url` function ([#1001](https://togithub.com/webpack-contrib/css-loader/issues/1001)) ([8f4d6f5](https://togithub.com/webpack-contrib/css-loader/commit/8f4d6f508187513347106a436eda993f874065f1))
### [`v3.2.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#321-2019-12-02)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.2.0...v3.2.1)
### [`v3.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#320-2019-08-06)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.1.0...v3.2.0)
##### Bug Fixes
- replace `.` characters in localIndent to `-` character (regression) ([#982](https://togithub.com/webpack-contrib/css-loader/issues/982)) ([967fb66](https://togithub.com/webpack-contrib/css-loader/commit/967fb66))
##### Features
- support es modules for assets loader ([#984](https://togithub.com/webpack-contrib/css-loader/issues/984)) ([9c5126c](https://togithub.com/webpack-contrib/css-loader/commit/9c5126c))
### [`v3.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#310-2019-07-18)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.0.0...v3.1.0)
##### Bug Fixes
- converting all (including reserved and control) filesystem characters to `-` (it was regression in `3.0.0` version) ([#972](https://togithub.com/webpack-contrib/css-loader/issues/972)) ([f51859b](https://togithub.com/webpack-contrib/css-loader/commit/f51859b))
- default context should be undefined instead of null ([#965](https://togithub.com/webpack-contrib/css-loader/issues/965)) ([9c32885](https://togithub.com/webpack-contrib/css-loader/commit/9c32885))
##### Features
- allow `modules.getLocalIdent` to return a falsy value ([#963](https://togithub.com/webpack-contrib/css-loader/issues/963)) ([9c3571c](https://togithub.com/webpack-contrib/css-loader/commit/9c3571c))
- improved validation error messages ([65e4fc0](https://togithub.com/webpack-contrib/css-loader/commit/65e4fc0))
### [`v3.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#300-2019-06-11)
[Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v2.1.1...v3.0.0)
##### Bug Fixes
- avoid the "from" argument must be of type string error ([#908](https://togithub.com/webpack-contrib/css-loader/issues/908)) ([e5dfd23](https://togithub.com/webpack-contrib/css-loader/commit/e5dfd23))
- invert `Function` behavior for `url` and `import` options ([#939](https://togithub.com/webpack-contrib/css-loader/issues/939)) ([e9eb5ad](https://togithub.com/webpack-contrib/css-loader/commit/e9eb5ad))
- properly export locals with escaped characters ([#917](https://togithub.com/webpack-contrib/css-loader/issues/917)) ([a0efcda](https://togithub.com/webpack-contrib/css-loader/commit/a0efcda))
- property handle non css characters in localIdentName ([#920](https://togithub.com/webpack-contrib/css-loader/issues/920)) ([d3a0a3c](https://togithub.com/webpack-contrib/css-loader/commit/d3a0a3c))
##### Features
- modules options now accepts object config ([#937](https://togithub.com/webpack-contrib/css-loader/issues/937)) ([1d7a464](https://togithub.com/webpack-contrib/css-loader/commit/1d7a464))
- support `@value` at-rule in selectors ([#941](https://togithub.com/webpack-contrib/css-loader/issues/941)) ([05a42e2](https://togithub.com/webpack-contrib/css-loader/commit/05a42e2))
##### BREAKING CHANGES
- minimum required nodejs version is 8.9.0
- `@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)
- invert `{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` option
- `modules` option now can be `{Object}` and allow to setup `CSS Modules` options:
- `localIdentName` option was removed in favor `modules.localIdentName` option
- `context` option was remove in favor `modules.context` option
- `hashPrefix` option was removed in favor `modules.hashPrefix` option
- `getLocalIdent` option was removed in favor `modules.getLocalIdent` option
- `localIdentRegExp` option was removed in favor `modules.localIdentRegExp` option
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 Mend Renovate. View repository job log here.
This PR contains the following updates:
2.1.1
->6.11.0
Release Notes
webpack-contrib/css-loader (css-loader)
### [`v6.11.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#6110-2024-04-03) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.10.0...v6.11.0) ##### Features - supports multiple composes ([#1582](https://togithub.com/webpack-contrib/css-loader/issues/1582)) ([bbca614](https://togithub.com/webpack-contrib/css-loader/commit/bbca61411dc5f82964653a6d1aa27854519b743d)) ##### Bug Fixes - do not break `@scope` at-rule without params ([#1581](https://togithub.com/webpack-contrib/css-loader/issues/1581)) ([e022e3b](https://togithub.com/webpack-contrib/css-loader/commit/e022e3bb405472ac7d51ff1114783fc2811dfe04)) ### [`v6.10.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#6100-2024-01-30) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.9.1...v6.10.0) ##### Features - add `@rspack/core` as an optional peer dependency ([#1568](https://togithub.com/webpack-contrib/css-loader/issues/1568)) ([3924679](https://togithub.com/webpack-contrib/css-loader/commit/3924679cb9a8f31996c742290a71a3446c9782b9)) - pass the `resourceQuery` and `resourceFragment` to the `auto` and `mode` callback ([#1569](https://togithub.com/webpack-contrib/css-loader/issues/1569)) ([d641c4d](https://togithub.com/webpack-contrib/css-loader/commit/d641c4d48264518dfeb77d7e1e8ef03bbb09b645)) - support named exports with any characters ([6f43929](https://togithub.com/webpack-contrib/css-loader/commit/6f439299838eab7e6fb18f6e9f47b9dee2208463)) ##### [6.9.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.9.0...v6.9.1) (2024-01-18) ##### Bug Fixes - css nesting support - `@scope` at-rule support ### [`v6.9.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#691-2024-01-18) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.9.0...v6.9.1) ### [`v6.9.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#690-2024-01-09) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.8.1...v6.9.0) ##### Features - updated generateExportEntry to expose node details ([#1556](https://togithub.com/webpack-contrib/css-loader/issues/1556)) ([05002f3](https://togithub.com/webpack-contrib/css-loader/commit/05002f39e29afd7e12f9efca4d073bc23e3d2150)) ##### Bug Fixes - css experiment detection ([#1559](https://togithub.com/webpack-contrib/css-loader/issues/1559)) ([f2cfe30](https://togithub.com/webpack-contrib/css-loader/commit/f2cfe30a8f6b0053a268c0d9c1943bb3c8f01338)) ##### [6.8.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.8.0...v6.8.1) (2023-05-28) ##### Bug Fixes - use `cause` for original errors and warnings ([#1526](https://togithub.com/webpack-contrib/css-loader/issues/1526)) ([ae3d8ae](https://togithub.com/webpack-contrib/css-loader/commit/ae3d8ae54ecb5706fe9c3449487cc8306699469f)) ### [`v6.8.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#681-2023-05-28) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.8.0...v6.8.1) ### [`v6.8.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#680-2023-05-27) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.4...v6.8.0) ##### Features - use template literal when it possible to prevent `Maximum call stack size exceeded` ([#1525](https://togithub.com/webpack-contrib/css-loader/issues/1525)) ([6eb5661](https://togithub.com/webpack-contrib/css-loader/commit/6eb56618185e974abf339c952c263cc7b8a9a066)) ##### Bug Fixes - warning and error serialization ([#1523](https://togithub.com/webpack-contrib/css-loader/issues/1523)) ([3e52969](https://togithub.com/webpack-contrib/css-loader/commit/3e52969f0f6b1c9d4d16db41ebff8804b340742c)) ##### [6.7.4](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.3...v6.7.4) (2023-05-19) ##### Bug Fixes - bugs in css modules ([c3099fb](https://togithub.com/webpack-contrib/css-loader/commit/c3099fb0cf03927f879f911ab5f51d9edc20d871)) - output warning when built-in CSS support enabled ([#1520](https://togithub.com/webpack-contrib/css-loader/issues/1520)) ([0700ce8](https://togithub.com/webpack-contrib/css-loader/commit/0700ce8cfab2f25d538eaa2309ae80e1a097a6c1)) ##### [6.7.3](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.2...v6.7.3) (2022-12-14) ##### Bug Fixes - remove `sourceURL` from emitted CSS ([#1487](https://togithub.com/webpack-contrib/css-loader/issues/1487)) ([962924c](https://togithub.com/webpack-contrib/css-loader/commit/962924c79e274be9f6f81d39eac651c1a4876bc2)) ##### [6.7.2](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.1...v6.7.2) (2022-11-13) ##### Bug Fixes - css modules generation with inline syntax ([#1480](https://togithub.com/webpack-contrib/css-loader/issues/1480)) ([2f4c273](https://togithub.com/webpack-contrib/css-loader/commit/2f4c27399fdadace5af221ae8df95a36642a377e)) ##### [6.7.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.0...v6.7.1) (2022-03-08) ##### Bug Fixes - defaultGetLocalIdent export ([#1427](https://togithub.com/webpack-contrib/css-loader/issues/1427)) ([74dac1e](https://togithub.com/webpack-contrib/css-loader/commit/74dac1e428569236d386ff4e0f971e35c334087a)) ### [`v6.7.4`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#674-2023-05-19) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.3...v6.7.4) ### [`v6.7.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#673-2022-12-14) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.2...v6.7.3) ### [`v6.7.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#672-2022-11-13) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.1...v6.7.2) ### [`v6.7.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#671-2022-03-08) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.7.0...v6.7.1) ### [`v6.7.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#670-2022-03-04) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.6.0...v6.7.0) ##### Features - re-export defaultGetLocalIdent ([#1423](https://togithub.com/webpack-contrib/css-loader/issues/1423)) ([207cf36](https://togithub.com/webpack-contrib/css-loader/commit/207cf36d541423f12a8d6680b21530c52a2f07d5)) ### [`v6.6.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#660-2022-02-02) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.5.1...v6.6.0) ##### Features - added the `hashStrategy` option ([ca4abce](https://togithub.com/webpack-contrib/css-loader/commit/ca4abce74d01bc13959e30a4dbbd1ca3a0516d72)) ##### [6.5.1](https://togithub.com/webpack-contrib/css-loader/compare/v6.5.0...v6.5.1) (2021-11-03) ##### Bug Fixes - regression with unicode characters in locals ([b7a8441](https://togithub.com/webpack-contrib/css-loader/commit/b7a84414fb3f6e6ff413cbbb7004fa74a78da331)) - runtime path generation ([#1393](https://togithub.com/webpack-contrib/css-loader/issues/1393)) ([feafea8](https://togithub.com/webpack-contrib/css-loader/commit/feafea812a95db05e9b52beaced0def611bba5c8)) ### [`v6.5.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#651-2021-11-03) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.5.0...v6.5.1) ### [`v6.5.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#650-2021-10-26) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.4.0...v6.5.0) ##### Features - support absolute URL in `url()` when `experiments.buildHttp` enabled ([#1389](https://togithub.com/webpack-contrib/css-loader/issues/1389)) ([8946be4](https://togithub.com/webpack-contrib/css-loader/commit/8946be4d0f2c0237cd5fa846d67d469ff20058a4)) ##### Bug Fixes - respect `nosources` in the `devtool` option ([c60eff2](https://togithub.com/webpack-contrib/css-loader/commit/c60eff212337c8a65995f6675d25f49bb515e77d)) ### [`v6.4.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#640-2021-10-09) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.3.0...v6.4.0) ##### Features - generate more collision resistant for locals ([c7db752](https://togithub.com/webpack-contrib/css-loader/commit/c7db752fe6a9c7ff28d165fd24a37be08ef83af5)) ##### Bug Fixes - classes generation for client and server bundling ([303a3a1](https://togithub.com/webpack-contrib/css-loader/commit/303a3a171793cf1044c131e291f5c29f9ab86c77)) ### [`v6.3.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#630-2021-09-18) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.2.0...v6.3.0) ##### Features - added `[folder]` placeholder ([a0dee4f](https://togithub.com/webpack-contrib/css-loader/commit/a0dee4fd34dd1b9892dac7645a4e57ec134e561b)) - added the `exportType` option with `'array'`, `'string'` and `'css-style-sheet'` values ([c6d2066](https://togithub.com/webpack-contrib/css-loader/commit/c6d20664ca03226ace26b9766e484e437ec74f60)) - `'array'` - the default export is `Array` with API for `style-loader` and other - `'string'` - the default export is `String` you don't need [`to-string-loader`](https://www.npmjs.com/package/to-string-loader) loader anymore - `'css-style-sheet'` - the default export is a [`constructable stylesheet`](https://developers.google.com/web/updates/2019/02/constructable-stylesheets), you can use `import sheet from './styles.css' assert { type: 'css' };` like in a browser, more information you can find [here](https://togithub.com/webpack-contrib/css-loader#css-style-sheet) - supported `supports()` and `layer()` functions in `@import` at-rules ([#1377](https://togithub.com/webpack-contrib/css-loader/issues/1377)) ([bce2c17](https://togithub.com/webpack-contrib/css-loader/commit/bce2c17524290591be243829187f909a0ae5a6f7)) - fix multiple merging multiple `@media` at-rules ([#1377](https://togithub.com/webpack-contrib/css-loader/issues/1377)) ([bce2c17](https://togithub.com/webpack-contrib/css-loader/commit/bce2c17524290591be243829187f909a0ae5a6f7)) ##### Bug Fixes - reduce runtime ([#1378](https://togithub.com/webpack-contrib/css-loader/issues/1378)) ([cf3a3a7](https://togithub.com/webpack-contrib/css-loader/commit/cf3a3a7346aa73637ee6aae6fef5648965c31a47)) ### [`v6.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#620-2021-07-19) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.1.0...v6.2.0) ##### Features - allow the `exportLocalsConvention` option can be a function, useful for named export ([#1351](https://togithub.com/webpack-contrib/css-loader/issues/1351)) ([3c4b357](https://togithub.com/webpack-contrib/css-loader/commit/3c4b35718273baaf9e0480db715b596fbe5d7453)) ### [`v6.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#610-2021-07-17) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.0.0...v6.1.0) ##### Features - add `link` in schema ([#1345](https://togithub.com/webpack-contrib/css-loader/issues/1345)) ([7d4e493](https://togithub.com/webpack-contrib/css-loader/commit/7d4e4931390f9e9356af45ae03057d1505d73109)) ##### Bug Fixes - respect the `localIdentRegExp` option ([#1349](https://togithub.com/webpack-contrib/css-loader/issues/1349)) ([42f150b](https://togithub.com/webpack-contrib/css-loader/commit/42f150b429afad9b0851d2e6bd75cec120885aa4)) ### [`v6.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#600-2021-07-14) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.7...v6.0.0) ##### Notes - using `~` is deprecated when the `esModules` option is enabled (enabled by default) and can be removed from your code (**we recommend it**) (`url(~package/image.png)` -> `url(package/image.png)`, `@import url(~package/style.css)` -> `@import url(package/style.css)`, `composes: import from '~package/one.css';` -> `composes: import from 'package/one.css';`), but we still support it for historical reasons. Why can you remove it? The loader will first try to resolve `@import`/`url()`/etc as relative, if it cannot be resolved, the loader will try to resolve `@import`/`url()`/etc inside [`node_modules` or modules directories](https://webpack.js.org/configuration/resolve/#resolvemodules). - `file-loader` and `url-loader` are deprecated, please migrate on [`asset modules`](https://webpack.js.org/guides/asset-modules/), since v6 `css-loader` is generating `new URL(...)` syntax, it enables by default built-in [`assets modules`](https://webpack.js.org/guides/asset-modules/), i.e. `type: 'asset'` for all `url()` ##### ⚠ BREAKING CHANGES - minimum supported `Node.js` version is `12.13.0` - minimum supported `webpack` version is `5`, we recommend to update to the latest version for better performance - for `url` and `import` options `Function` type was removed in favor `Object` type with the `filter` property, i.e. before `{ url: () => true }`, now `{ url: { filter: () => true } }` and before `{ import: () => true }`, now `{ import: { filter: () => true } }` - the `modules.compileType` option was removed in favor the `modules.mode` option with `icss` value, also the `modules` option can have `icss` string value - `new URL()` syntax used for `url()`, only when the `esModules` option is enabled (enabled by default), it means you can bundle CSS for libraries - [data URI](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are handling in `url()`, it means you can register loaders for them, [example](https://webpack.js.org/configuration/module/#rulescheme) - aliases with `false` value for `url()` now generate empty data URI (i.e. `data:0,`), only when the `esModules` option is enabled (enabled by default) - `[ext]` placeholder don't need `.` (dot) before for the `localIdentName` option, i.e. please change `.[ext]` on `[ext]` (no dot before) - `[folder]` placeholder was removed without replacement for the `localIdentName` option, please use a custom function if you need complex logic - `[emoji]` placeholder was removed without replacement for the `localIdentName` option, please use a custom function if you need complex logic - the `localIdentHashPrefix` was removed in favor the `localIdentHashSalt` option ##### Features - supported [`resolve.byDependency.css`](https://webpack.js.org/configuration/resolve/#resolvebydependency) resolve options for `@import` - supported [`resolve.byDependency.icss`](https://webpack.js.org/configuration/resolve/#resolvebydependency) resolve CSS modules and ICSS imports (i.e. `composes`/etc) - added `modules.localIdentHashFunction`, `modules.localIdentHashDigest`, `modules.localIdentHashDigestLength` options for better class hashing controlling - less dependencies ##### Bug Fixes - better performance - fixed circular `@import` ##### Notes - **we strongly recommend not to add `.css` to `resolve.extensions`, it reduces performance and in most cases it is simply not necessary, alternative you can set resolve options [by dependency](https://webpack.js.org/configuration/resolve/#resolvebydependency)** ##### [5.2.7](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.6...v5.2.7) (2021-07-13) ##### Bug Fixes - fix crash when source map is unavailable with external URL in `[@import](https://togithub.com/import)` ([bb76fe4](https://togithub.com/webpack-contrib/css-loader/commit/bb76fe48a198e74cacf29ad4b1c01d485f4db11f)) ##### [5.2.6](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.5...v5.2.6) (2021-05-24) ##### Bug Fixes - always write locals export when css modules/icss enabled ([#1315](https://togithub.com/webpack-contrib/css-loader/issues/1315)) ([075d9bd](https://togithub.com/webpack-contrib/css-loader/commit/075d9bd044a78543479cbf10ccd3c386a3e434e6)) ##### [5.2.5](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.4...v5.2.5) (2021-05-20) ##### Bug Fixes - compatibility with named export and es5 ([#1314](https://togithub.com/webpack-contrib/css-loader/issues/1314)) ([0cf8cde](https://togithub.com/webpack-contrib/css-loader/commit/0cf8cdedd8667b1ba13d3b4322087943a25176f6)) ##### [5.2.4](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.3...v5.2.4) (2021-04-19) ##### Bug Fixes - do not crash on 'false' aliases ([#1292](https://togithub.com/webpack-contrib/css-loader/issues/1292)) ([e913cb1](https://togithub.com/webpack-contrib/css-loader/commit/e913cb1d73a4f5c3c4464e0446a885e9f677a005)) ##### [5.2.3](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.2...v5.2.3) (2021-04-19) ##### Bug Fixes - improve performance ##### [5.2.2](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.1...v5.2.2) (2021-04-16) ##### Bug Fixes - avoid escape nonASCII characters in local names ([0722733](https://togithub.com/webpack-contrib/css-loader/commit/072273308a8ab4b7efdae31440689dc81978ca1d)) ##### [5.2.1](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.0...v5.2.1) (2021-04-09) ##### Bug Fixes - do not crash on unescaped svg data uri ([#1288](https://togithub.com/webpack-contrib/css-loader/issues/1288)) ([4f289c5](https://togithub.com/webpack-contrib/css-loader/commit/4f289c5e4df6c666fdf6dd3402560ae74d4bf7ee)) ### [`v5.2.7`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#527-2021-07-13) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.6...v5.2.7) ### [`v5.2.6`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#526-2021-05-24) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.5...v5.2.6) ### [`v5.2.5`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#525-2021-05-20) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.4...v5.2.5) ### [`v5.2.4`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#524-2021-04-19) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.3...v5.2.4) ### [`v5.2.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#523-2021-04-19) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.2...v5.2.3) ### [`v5.2.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#522-2021-04-16) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.1...v5.2.2) ### [`v5.2.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#521-2021-04-09) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.2.0...v5.2.1) ### [`v5.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#520-2021-03-24) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.4...v5.2.0) ##### Features - support async functions for `url` and `import` options ([#1277](https://togithub.com/webpack-contrib/css-loader/issues/1277)) ([c5062db](https://togithub.com/webpack-contrib/css-loader/commit/c5062db3fc849d882a07b9f2c9f66f00325c8896)) ##### [5.1.4](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.3...v5.1.4) (2021-03-24) ##### Bug Fixes - crash with thread-loader ([#1281](https://togithub.com/webpack-contrib/css-loader/issues/1281)) ([7095a7c](https://togithub.com/webpack-contrib/css-loader/commit/7095a7ca7d985d5447aed80cf3e41a4f8c19b954)) ##### [5.1.3](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3) (2021-03-15) ##### Bug Fixes - the `auto` option works using inline module syntax ([#1274](https://togithub.com/webpack-contrib/css-loader/issues/1274)) ([1db2f4d](https://togithub.com/webpack-contrib/css-loader/commit/1db2f4df3ff9ae8f0667a2304853c8e7cdd0afc1)) - ident generation for CSS modules using inline module syntax ([#1274](https://togithub.com/webpack-contrib/css-loader/issues/1274)) ([1db2f4d](https://togithub.com/webpack-contrib/css-loader/commit/1db2f4df3ff9ae8f0667a2304853c8e7cdd0afc1)) ##### [5.1.2](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.1...v5.1.2) (2021-03-10) ##### Bug Fixes - handling `@import` with spaces before and after and any extensions ([#1272](https://togithub.com/webpack-contrib/css-loader/issues/1272)) ([0c47cf7](https://togithub.com/webpack-contrib/css-loader/commit/0c47cf7ccbe3635900e8e8840650f69a7eca004d)) - inline loader syntax in `@import` and modules ([3f49ed0](https://togithub.com/webpack-contrib/css-loader/commit/3f49ed0864457f9467f560856377c890c392aee7)) ##### [5.1.1](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.0...v5.1.1) (2021-03-01) ##### Bug Fixes - crash on modified AST from `postcss-loader` ([#1268](https://togithub.com/webpack-contrib/css-loader/issues/1268)) ([d2a1a84](https://togithub.com/webpack-contrib/css-loader/commit/d2a1a84afc63fdfb2a4ce6668ed9f2d7f1ba56ca)) ### [`v5.1.4`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#514-2021-03-24) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.3...v5.1.4) ### [`v5.1.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#513-2021-03-15) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3) ### [`v5.1.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#512-2021-03-10) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.1...v5.1.2) ### [`v5.1.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#511-2021-03-01) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.1.0...v5.1.1) ### [`v5.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#510-2021-02-25) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.2...v5.1.0) ##### Features - added support webpackIgnore comment ([#1264](https://togithub.com/webpack-contrib/css-loader/issues/1264)) ([53d40a9](https://togithub.com/webpack-contrib/css-loader/commit/53d40a9bb35a79e6a15308bbb7a01358f39816df)) ##### [5.0.2](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.1...v5.0.2) (2021-02-08) ##### Bug Fixes - pass query with hash to other loaders ([#1261](https://togithub.com/webpack-contrib/css-loader/issues/1261)) ([729a314](https://togithub.com/webpack-contrib/css-loader/commit/729a314529cd0607c374b07bdf425337f9a778d4)) ##### [5.0.1](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.0...v5.0.1) (2020-11-04) ##### Bug Fixes - sources in source maps have relative paths ([#1219](https://togithub.com/webpack-contrib/css-loader/issues/1219)) ([3229b3c](https://togithub.com/webpack-contrib/css-loader/commit/3229b3cca3cb5d762daeff57239a965b06fd7593)) ### [`v5.0.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#502-2021-02-08) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.1...v5.0.2) ### [`v5.0.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#501-2020-11-04) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v5.0.0...v5.0.1) ### [`v5.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#500-2020-10-13) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.3.0...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` (the `modules.compileType` option is `icss`) - `[emoji]` placeholder was deprecated - `icss` option was removed (it was deprecated previously) ##### Features - allow named exports to have underscores in names ([#1209](https://togithub.com/webpack-contrib/css-loader/issues/1209)) ([747d62b](https://togithub.com/webpack-contrib/css-loader/commit/747d62b75a878d8881f4819b96297667dc689b8f)) - hide warning when you don't need handle `url()`/`@import` ([#1195](https://togithub.com/webpack-contrib/css-loader/issues/1195)) ([dd52931](https://togithub.com/webpack-contrib/css-loader/commit/dd52931150ed42f122d9017642437c26cc1b2422)) - improve error message ([52412f6](https://togithub.com/webpack-contrib/css-loader/commit/52412f6d5a54745ee37a4a67f038455c26ba5772)) - reduce runtime ([9f974be](https://togithub.com/webpack-contrib/css-loader/commit/9f974be81f5942d3afaf783529677bd541952fa3)) - add fallback if custom getLocalIdent returns `null`/`undefined` ([#1193](https://togithub.com/webpack-contrib/css-loader/issues/1193)) ([0f95841](https://togithub.com/webpack-contrib/css-loader/commit/0f9584135e63f9f354043e7f414e0c1aad0edc6e)) ### [`v4.3.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#430-2020-09-08) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.2...v4.3.0) ##### Features - the `importLoaders` can be `string` ([#1178](https://togithub.com/webpack-contrib/css-loader/issues/1178)) ([ec58a7c](https://togithub.com/webpack-contrib/css-loader/commit/ec58a7cfda46443e35539d66b86685195fa5db03)) ##### Bug Fixes - line breaks in `url` function ([88b8ddc](https://togithub.com/webpack-contrib/css-loader/commit/88b8ddc1d78a2b6a917ed2dfe2f2a37cf6a84190)) ##### [4.2.2](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.1...v4.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](https://togithub.com/webpack-contrib/css-loader/issues/1169)) ([fb5c53d](https://togithub.com/webpack-contrib/css-loader/commit/fb5c53d80b10ee698762238bb7b122aec8c5048d)) ##### [4.2.1](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.0...v4.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](https://togithub.com/webpack-contrib/css-loader/commit/24c0a122d1396c08326a24f6184f5da09cf52ccc)) ### [`v4.2.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#422-2020-08-24) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.1...v4.2.2) ### [`v4.2.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#421-2020-08-06) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.2.0...v4.2.1) ### [`v4.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#420-2020-07-31) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.1.1...v4.2.0) ##### Features - add `module.type` option, the `icss` option is deprecated ([#1150](https://togithub.com/webpack-contrib/css-loader/issues/1150)) ([68f72af](https://togithub.com/webpack-contrib/css-loader/commit/68f72af2a09111f74dcacbf7af019fe7eb40cb6c)) ##### [4.1.1](https://togithub.com/webpack-contrib/css-loader/compare/v4.1.0...v4.1.1) (2020-07-30) ##### Bug Fixes - remove unnecessary `console` call ([#1148](https://togithub.com/webpack-contrib/css-loader/issues/1148)) ([b1b90ca](https://togithub.com/webpack-contrib/css-loader/commit/b1b90caaea8eb045177749729340c7906454a84b)) ### [`v4.1.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#411-2020-07-30) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#410-2020-07-29) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v4.0.0...v4.1.0) ##### Features - add `icss` option ([#1140](https://togithub.com/webpack-contrib/css-loader/issues/1140)) ([a8ec7da](https://togithub.com/webpack-contrib/css-loader/commit/a8ec7da42234e0b2eb061d2a920669940bcbdf05)) - support absolute paths ([f9ba0ce](https://togithub.com/webpack-contrib/css-loader/commit/f9ba0ce11789770c4c9220478e9c98dbd432a5d6)) ##### Bug Fixes - do not crash with `data` URLs ([#1142](https://togithub.com/webpack-contrib/css-loader/issues/1142)) ([91bc64b](https://togithub.com/webpack-contrib/css-loader/commit/91bc64b81abfeffd174639a8fdf2366412c11426)) - performance ([#1144](https://togithub.com/webpack-contrib/css-loader/issues/1144)) ([4f1baa2](https://togithub.com/webpack-contrib/css-loader/commit/4f1baa211eb27b0b281ba9f262fa12e8aaefc0ba)) ### [`v4.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#400-2020-07-25) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.6.0...v4.0.0) ##### ⚠ 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)` - `url()` resolving algorithm now handles absolute paths instead of ignoring them. This can break builds which relied on absolute paths to refer to the asset directory. ([bc19ddd](https://togithub.com/webpack-contrib/css-loader/commit/bc19ddd8779dafbc2a420870a3cb841041ce9c7c)) ##### Features - `@value` supports importing `url()` ([#1126](https://togithub.com/webpack-contrib/css-loader/issues/1126)) ([7f49a0a](https://togithub.com/webpack-contrib/css-loader/commit/7f49a0a6047846bb2e432558365e19d4a0dfb366)) - improve `url()` resolving algorithm to support more path types ([bc19ddd](https://togithub.com/webpack-contrib/css-loader/commit/bc19ddd8779dafbc2a420870a3cb841041ce9c7c)) - named export for locals ([#1108](https://togithub.com/webpack-contrib/css-loader/issues/1108)) ([d139ec1](https://togithub.com/webpack-contrib/css-loader/commit/d139ec1d763f9944550b31f2a75183e488dd1224)) - respected the `style` field from package.json ([#1099](https://togithub.com/webpack-contrib/css-loader/issues/1099)) ([edf5347](https://togithub.com/webpack-contrib/css-loader/commit/edf5347e4203a62e50b87248a83da198afdc6eba)) - support `file:` protocol ([5604205](https://togithub.com/webpack-contrib/css-loader/commit/560420567eb0e1a635648b7f4ff0365db475384c)) - support server relative URLs ##### Bug Fixes - resolution algorithm, you don't need `~` inside packages in `node_modules` ([76f1480](https://togithub.com/webpack-contrib/css-loader/commit/76f1480b14265369ac5dc8dbbce467cfb8e814c5)) ### [`v3.6.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#360-2020-06-13) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.3...v3.6.0) ##### Features - allow `modules.auto` to be a filter function ([#1086](https://togithub.com/webpack-contrib/css-loader/issues/1086)) ([0902353](https://togithub.com/webpack-contrib/css-loader/commit/0902353c328d4d18e8ed2755fe9c83c03c53df81)) ##### [3.5.3](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.2...v3.5.3) (2020-04-24) ##### Bug Fixes - add file from an error to file dependencies ([841423f](https://togithub.com/webpack-contrib/css-loader/commit/841423fca2932c18f8ac0cf0a1f0012fc0a62fb6)) - avoid query string in source maps ([#1082](https://togithub.com/webpack-contrib/css-loader/issues/1082)) ([f64de13](https://togithub.com/webpack-contrib/css-loader/commit/f64de13f7377eff9501348cf26213212ca696913)) ##### [3.5.2](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.1...v3.5.2) (2020-04-10) ##### Bug Fixes - schema for the `modules.auto` option ([#1075](https://togithub.com/webpack-contrib/css-loader/issues/1075)) ([8c9ffe7](https://togithub.com/webpack-contrib/css-loader/commit/8c9ffe7c6df11232b63173c757baa71ed36f6145)) ##### [3.5.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.0...v3.5.1) (2020-04-07) ##### Bug Fixes - don't generate an invalid code for `locals` ([#1072](https://togithub.com/webpack-contrib/css-loader/issues/1072)) ([866b84a](https://togithub.com/webpack-contrib/css-loader/commit/866b84acd7fd47651f741ca1e6cf7081c2bbe357)) ### [`v3.5.3`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#353-2020-04-24) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.2...v3.5.3) ### [`v3.5.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#352-2020-04-10) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.1...v3.5.2) ### [`v3.5.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#351-2020-04-07) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.5.0...v3.5.1) ### [`v3.5.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#350-2020-04-06) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.2...v3.5.0) ##### Features - accept semver compatible postcss AST ([#1049](https://togithub.com/webpack-contrib/css-loader/issues/1049)) ([14c4faa](https://togithub.com/webpack-contrib/css-loader/commit/14c4faae87305c9b965de4f468bb1e118f6b84cc)) - allow to determinate css modules using the `modules.auto` option, please look at an [example](https://togithub.com/webpack-contrib/css-loader#pure-css-css-modules-and-postcss) of how you can simplify the configuration. ([#1067](https://togithub.com/webpack-contrib/css-loader/issues/1067)) ([c673cf4](https://togithub.com/webpack-contrib/css-loader/commit/c673cf418e901c5050bc697eb45401dc9a42c477)) - the `modules.exportGlobals` option for export global classes and ids ([#1069](https://togithub.com/webpack-contrib/css-loader/issues/1069)) ([519e5f4](https://togithub.com/webpack-contrib/css-loader/commit/519e5f41539f4c87ec96db0a908aaadecc284a6c)) - the `modules.mode` option may be a function ([#1065](https://togithub.com/webpack-contrib/css-loader/issues/1065)) ([0d8ac3b](https://togithub.com/webpack-contrib/css-loader/commit/0d8ac3bcb831bc747657c914aba106b93840737e)) ##### [3.4.2](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.1...v3.4.2) (2020-01-10) ##### Bug Fixes - do not duplicate css on `composes` ([#1040](https://togithub.com/webpack-contrib/css-loader/issues/1040)) ([df79602](https://togithub.com/webpack-contrib/css-loader/commit/df7960277be20ec80e9be1a41ac53baf69847fa0)) ##### [3.4.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.0...v3.4.1) (2020-01-03) ##### Bug Fixes - do not output `undefined` when sourceRoot is unavailable ([#1036](https://togithub.com/webpack-contrib/css-loader/issues/1036)) ([ded2a79](https://togithub.com/webpack-contrib/css-loader/commit/ded2a797271f2adf864bf92300621c024974bc79)) - don't output invalid es5 code when locals do not exists ([#1035](https://togithub.com/webpack-contrib/css-loader/issues/1035)) ([b60e62a](https://togithub.com/webpack-contrib/css-loader/commit/b60e62a655719cc1779fae7d577af6ad6cf42135)) ### [`v3.4.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#342-2020-01-10) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.1...v3.4.2) ### [`v3.4.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#341-2020-01-03) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.4.0...v3.4.1) ### [`v3.4.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#340-2019-12-17) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0) ##### Features - `esModule` option ([#1026](https://togithub.com/webpack-contrib/css-loader/issues/1026)) ([d358cdb](https://togithub.com/webpack-contrib/css-loader/commit/d358cdbe2c026afafa0279003cb6c8a3eff4c419)) ##### Bug Fixes - logic for order and media queries for imports ([#1018](https://togithub.com/webpack-contrib/css-loader/issues/1018)) ([65450d9](https://togithub.com/webpack-contrib/css-loader/commit/65450d9c04790ccc9fb06eac81ea6d8f3cdbfaac)) ##### [3.3.2](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.1...v3.3.2) (2019-12-12) ##### Bug Fixes - logic for order and media queries for imports ([1fb5134](https://togithub.com/webpack-contrib/css-loader/commit/1fb51340a7719b6f5b517cb71ea85ec5d45c1199)) ##### [3.3.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.0...v3.3.1) (2019-12-12) ##### Bug Fixes - better handling url functions and an url in `@import` at-rules - reduce count of `require` ([#1014](https://togithub.com/webpack-contrib/css-loader/issues/1014)) ([e091d27](https://togithub.com/webpack-contrib/css-loader/commit/e091d2709c29ac57ed0106af8ec3b581cbda7a9c)) ### [`v3.3.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#332-2019-12-12) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.1...v3.3.2) ### [`v3.3.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#331-2019-12-12) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.3.0...v3.3.1) ### [`v3.3.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#330-2019-12-09) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.2.1...v3.3.0) ##### Features - support `pure` css modules ([#1008](https://togithub.com/webpack-contrib/css-loader/issues/1008)) ([6177af5](https://togithub.com/webpack-contrib/css-loader/commit/6177af5596566fead13a8f66d5abcb4dc2b744db)) ##### Bug Fixes - do not crash when an assert return `null` or `undefined` ([#1006](https://togithub.com/webpack-contrib/css-loader/issues/1006)) ([6769783](https://togithub.com/webpack-contrib/css-loader/commit/67697833725e1cff12a14663390bbe4c65ea36d2)) - reduce count of `require` ([#1004](https://togithub.com/webpack-contrib/css-loader/issues/1004)) ([80e9662](https://togithub.com/webpack-contrib/css-loader/commit/80e966280f2477c5c0e4553d3be3a04511fea381)) ##### [3.2.1](https://togithub.com/webpack-contrib/css-loader/compare/v3.2.0...v3.2.1) (2019-12-02) ##### Bug Fixes - add an additional space after the escape sequence ([#998](https://togithub.com/webpack-contrib/css-loader/issues/998)) ([0961304](https://togithub.com/webpack-contrib/css-loader/commit/0961304020832fc9ca70cc708f4366e1f868e765)) - compatibility with ES modules syntax and hash in `url` function ([#1001](https://togithub.com/webpack-contrib/css-loader/issues/1001)) ([8f4d6f5](https://togithub.com/webpack-contrib/css-loader/commit/8f4d6f508187513347106a436eda993f874065f1)) ### [`v3.2.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#321-2019-12-02) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.2.0...v3.2.1) ### [`v3.2.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#320-2019-08-06) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.1.0...v3.2.0) ##### Bug Fixes - replace `.` characters in localIndent to `-` character (regression) ([#982](https://togithub.com/webpack-contrib/css-loader/issues/982)) ([967fb66](https://togithub.com/webpack-contrib/css-loader/commit/967fb66)) ##### Features - support es modules for assets loader ([#984](https://togithub.com/webpack-contrib/css-loader/issues/984)) ([9c5126c](https://togithub.com/webpack-contrib/css-loader/commit/9c5126c)) ### [`v3.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#310-2019-07-18) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v3.0.0...v3.1.0) ##### Bug Fixes - converting all (including reserved and control) filesystem characters to `-` (it was regression in `3.0.0` version) ([#972](https://togithub.com/webpack-contrib/css-loader/issues/972)) ([f51859b](https://togithub.com/webpack-contrib/css-loader/commit/f51859b)) - default context should be undefined instead of null ([#965](https://togithub.com/webpack-contrib/css-loader/issues/965)) ([9c32885](https://togithub.com/webpack-contrib/css-loader/commit/9c32885)) ##### Features - allow `modules.getLocalIdent` to return a falsy value ([#963](https://togithub.com/webpack-contrib/css-loader/issues/963)) ([9c3571c](https://togithub.com/webpack-contrib/css-loader/commit/9c3571c)) - improved validation error messages ([65e4fc0](https://togithub.com/webpack-contrib/css-loader/commit/65e4fc0)) ### [`v3.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#300-2019-06-11) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v2.1.1...v3.0.0) ##### Bug Fixes - avoid the "from" argument must be of type string error ([#908](https://togithub.com/webpack-contrib/css-loader/issues/908)) ([e5dfd23](https://togithub.com/webpack-contrib/css-loader/commit/e5dfd23)) - invert `Function` behavior for `url` and `import` options ([#939](https://togithub.com/webpack-contrib/css-loader/issues/939)) ([e9eb5ad](https://togithub.com/webpack-contrib/css-loader/commit/e9eb5ad)) - properly export locals with escaped characters ([#917](https://togithub.com/webpack-contrib/css-loader/issues/917)) ([a0efcda](https://togithub.com/webpack-contrib/css-loader/commit/a0efcda)) - property handle non css characters in localIdentName ([#920](https://togithub.com/webpack-contrib/css-loader/issues/920)) ([d3a0a3c](https://togithub.com/webpack-contrib/css-loader/commit/d3a0a3c)) ##### Features - modules options now accepts object config ([#937](https://togithub.com/webpack-contrib/css-loader/issues/937)) ([1d7a464](https://togithub.com/webpack-contrib/css-loader/commit/1d7a464)) - support `@value` at-rule in selectors ([#941](https://togithub.com/webpack-contrib/css-loader/issues/941)) ([05a42e2](https://togithub.com/webpack-contrib/css-loader/commit/05a42e2)) ##### BREAKING CHANGES - minimum required nodejs version is 8.9.0 - `@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) - invert `{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` option - `modules` option now can be `{Object}` and allow to setup `CSS Modules` options: - `localIdentName` option was removed in favor `modules.localIdentName` option - `context` option was remove in favor `modules.context` option - `hashPrefix` option was removed in favor `modules.hashPrefix` option - `getLocalIdent` option was removed in favor `modules.getLocalIdent` option - `localIdentRegExp` option was removed in favor `modules.localIdentRegExp` optionConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.
This PR has been generated by Mend Renovate. View repository job log here.