v5.0.0
Breaking changes
Imports from ICSS :export
should now be named, see css-loader
's major release 7.0.0.
Migration guide
Before:
import styles from "./styles.css";
console.log(styles.myClass);
After:
import * as styles from "./styles.css";
console.log(styles.myClass);
// or
import { myClass } from "./styles.css";
console.log(myClass);
Dependencies
- Update
@swc/core
to1.4.16
(patch) - Update
css-loader
to7.1.1
(major) - Update
mini-css-extract-plugin
to2.9.0
(minor) - Update
postcss-preset-env
to9.5.6
(patch) - Update
sass-loader
to14.2.1
(minor) - Update
style-loader
to4.0.0
(major)