import .scss build to js, the exported mapping is inconsistent with the usage【Urgent!!】 #18334
Replies: 2 comments 1 reply
-
Please read migration guide - https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#700-2024-04-04 And use Also don't use |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. Solved my problem。 |
Beta Was this translation helpful? Give feedback.
-
Bug report
What is the current behavior?
编译产物片段,导出为exports,并没有导出default。
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
import的scss文件,编译后的能正常使用构建的css。
导出对应map与实际使用一致。
加急!!!!
Other relevant information:
rspack version: 0.6.1
Node.js version: v18.17.1
Operating System: Mac M2
Additional tools:
Beta Was this translation helpful? Give feedback.
All reactions