From 5428e8dffb972fe055a3e4570c154c4765f2e78c Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 9 Apr 2024 09:18:24 -0400
Subject: [PATCH] Bump css-loader from 6.10.0 to 7.1.0 (#2252)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from
6.10.0 to 7.1.0.
Sourced from css-loader's
releases. Migration guide: Before: console.log(style.myClass);
Release notes
v7.1.0
7.1.0
(2024-04-08)
Features
v7.0.0
7.0.0
(2024-04-04)
⚠ BREAKING CHANGES
modules.namedExport
option is true
by
default if you enable the esModule
optionimport style from "./style.css";
After:
import * as style from "./style.css";
console.log(style.myClass);
modules.exportLocalsConvention
has the value
as-is
when the modules.namedExport
option is
true
and you don't specify a value5.27.0
18.12.0
modules.namedExports
option works fine with any
modules.exportLocalsConvention
values (f96a110)modules.exportLocalsConvention
options (40e1668)... (truncated)
Sourced from css-loader's changelog.
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: { namedExport: false, exportLocalsConvention: 'as-is', // // or, if you prefer camelcase style // // exportLocalsConvention: 'camel-case-only' }, </tr></table>
... (truncated)
b162e25
chore(release): 7.1.015f793d
docs: update logic (#1587)9c165a4
docs: update migration guide (#1586)af834b4
feat: added the getJSON
option to output CSS modules
mapping (#1577)fd18587
chore: husky migration (#1584)96e6ff4
chore(release): 7.0.0a2231ae
test: updatef96a110
feat: namedExports
works fine with any
exportLocalsConvention
value9852aa6
docs: update40e1668
feat: added dashed variants for the exportLocalsConvention
options