Skip to content
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

npm run build sass文件报错 #477

Closed
comlejade opened this issue Jul 17, 2020 · 5 comments
Closed

npm run build sass文件报错 #477

comlejade opened this issue Jul 17, 2020 · 5 comments
Labels
wontfix 不处理

Comments

@comlejade
Copy link

Description

项目通过npm start 可以正常运行,但是用npm run build打包时编译报错
微信截图_20200717112522

Environment

  • zarm 2.4.0
@JeromeLin
Copy link
Collaborator

项目编译用的是node-sass还是dart-sass?

@comlejade
Copy link
Author

项目编译用的是node-sass还是dart-sass?

node-sass

@comlejade
Copy link
Author

项目编译用的是node-sass还是dart-sass?

换成dart-sass之后编译成功了,这。。。

@JeromeLin
Copy link
Collaborator

@comlejade 应该是node-sass和dart-sass 使用 rgba方法+css variables 的时候兼容性不一致导致。

@JeromeLin JeromeLin added the wontfix 不处理 label Jul 17, 2020
@JeromeLin
Copy link
Collaborator

sass/node-sass#2251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix 不处理
Projects
None yet
Development

No branches or pull requests

2 participants