Download Latest Version v7.1.2 source code.zip (13.1 MB)
Email in envelope

Get an email when there's a new version of css-loader

Home / v7.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-04-04 1.1 kB
v7.0.0 source code.tar.gz 2024-04-04 13.0 MB
v7.0.0 source code.zip 2024-04-04 13.1 MB
Totals: 3 Items   26.1 MB 0

7.0.0 (2024-04-04)

⚠ BREAKING CHANGES

  • The modules.namedExport option is true by default if you enable the esModule option

Migration guide:

Before:

:::js
import style from "./style.css";

console.log(style.myClass);

After:

:::js
import * as style from "./style.css";

console.log(style.myClass);
  • The modules.exportLocalsConvention has the value as-is when the modules.namedExport option is true 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

  • The modules.namedExports option works fine with any modules.exportLocalsConvention values (f96a110)
  • Added dashed variants for the modules.exportLocalsConvention options (40e1668)
Source: README.md, updated 2024-04-04