import styles from './index.css' undefined
Closed this issue · 1 comments
HuXin957 commented
Bug report
import styles from './index.css'
styles is undefinedActual Behavior
css-loader:v7.x
Expected Behavior
How Do We Reproduce?
Please paste the results of npx webpack-cli info here, and mention other relevant information
alexander-akait commented
please read migration guide - https://github.com/webpack-contrib/css-loader/releases/tag/v7.0.0, use import * as styles from './index.css'