CSS Loader
modules.namedExport
option is true
by default if you enable the esModule
optionMigration guide:
Before:
import style from "./style.css";
console.log(style.myClass);
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