Bump css-loader from 6.8.1 to 7.1.1
Bumps css-loader from 6.8.1 to 7.1.1.
Release notes
Sourced from css-loader's releases.
v7.1.1
7.1.1 (2024-04-10)
Bug Fixes
v7.1.0
7.1.0 (2024-04-08)
Features
v7.0.0
7.0.0 (2024-04-04)
⚠ BREAKING CHANGES
- The
modules.namedExport
option istrue
by default if you enable theesModule
optionMigration guide:
Before:
import style from "./style.css"; console.log(style.myClass);
After:
import * as style from "./style.css"; console.log(style.myClass);
- The
modules.exportLocalsConvention
has the valueas-is
when themodules.namedExport
option istrue
and you don't specify a value- Minimum supported webpack version is
5.27.0
- Minimum supported Node.js version is
18.12.0
Features
... (truncated)
Changelog
Sourced from css-loader's changelog.
7.1.1 (2024-04-10)
Bug Fixes
7.1.0 (2024-04-08)
Features
7.0.0 (2024-04-04)
⚠ BREAKING CHANGES
- The
modules.namedExport
option istrue
by default if you enable theesModule
optionMigration guide:
Before:
import style from "./style.css"; console.log(style.myClass);
After:
import * as style from "./style.css"; console.log(style.myClass);
To restore 6.x behavior, please use:
module.exports = { module: { rules: [ { test: /\.css$/i, loader: "css-loader", options: { modules: { </tr></table>
... (truncated)
Commits
-
5c717c9
chore(release): 7.1.1 -
d6c31a1
fix: automatically rename classdefault
to_default
when named export is ... -
b162e25
chore(release): 7.1.0 -
15f793d
docs: update logic (#1587) -
9c165a4
docs: update migration guide (#1586) -
af834b4
feat: added thegetJSON
option to output CSS modules mapping (#1577) -
fd18587
chore: husky migration (#1584) -
96e6ff4
chore(release): 7.0.0 -
a2231ae
test: update -
f96a110
feat:namedExports
works fine with anyexportLocalsConvention
value - Additional commits viewable in compare view