Skip to content

Commit 96e6ff4

Browse files
chore(release): 7.0.0
1 parent a2231ae commit 96e6ff4

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [7.0.0](https://github.com/webpack-contrib/css-loader/compare/v6.11.0...v7.0.0) (2024-04-04)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* The `modules.namedExport` option is `true` by default if you enable the `esModule` option
11+
12+
Migration guide:
13+
14+
Before:
15+
16+
```js
17+
import style from "./style.css";
18+
19+
console.log(style.myClass);
20+
```
21+
22+
After:
23+
24+
```js
25+
import * as style from "./style.css";
26+
27+
console.log(style.myClass);
28+
```
29+
30+
* The `modules.exportLocalsConvention` has the value `as-is` when the `modules.namedExport` option is `true` and you don't specify a value
31+
* Minimum supported webpack version is `5.27.0`
32+
* Minimum supported Node.js version is `18.12.0`
33+
34+
### Features
35+
36+
* The `modules.namedExports` option works fine with any `modules.exportLocalsConvention` values ([f96a110](https://github.com/webpack-contrib/css-loader/commit/f96a11007da55a632de7f58167895e1b5814d717))
37+
* Added dashed variants for the `modules.exportLocalsConvention` options ([40e1668](https://github.com/webpack-contrib/css-loader/commit/40e1668b8366f0df63343efe706ba848c2b5dfb2))
38+
539
## [6.11.0](https://github.com/webpack-contrib/css-loader/compare/v6.10.0...v6.11.0) (2024-04-03)
640

741

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-loader",
3-
"version": "6.11.0",
3+
"version": "7.0.0",
44
"description": "css loader module for webpack",
55
"license": "MIT",
66
"repository": "webpack-contrib/css-loader",

0 commit comments

Comments
 (0)