-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] 2.15.12打包出现css编译错误 #22260
Comments
Just a moment, I'll check the problem |
我也遇到这个问题, 不只是打包 运行时就会报错 临时解决方案: 不要使用 css import , 在 main.js 或其他文件内直接 |
@syrm-ll Will be fixed in a minor release, watch for post-release updates |
This was referenced May 19, 2024
This was referenced May 25, 2024
This was referenced Jun 1, 2024
This was referenced Sep 19, 2024
This was referenced Sep 25, 2024
This was referenced Sep 27, 2024
This was referenced Sep 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Element UI version
2.15.12
OS/Browsers version
MacOS 16
Vue version
2.7.14
Reproduction Link
https://github.com/ElemeFE/element
Steps to reproduce
npm run build
What is Expected?
打包成功
What is actually happening?
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Invalid CSS after "...ttom:4px;color:": expected expression (e.g. 1px, bold), was "#73;font-size:14"
on line 1 of node_modules/element-ui/lib/theme-chalk/index.css
The text was updated successfully, but these errors were encountered: