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

Error: Can't find stylesheet to import. Mako build failed with sass used "@import '~xxx/variables.scss';" #1767

Open
neohan666 opened this issue Feb 5, 2025 · 2 comments

Comments

@neohan666
Copy link

Describe the bug

mako使用sass,配置了sassLoader: {},安装了[email protected]依赖,本地能正常运行,但是构建失败,报错:Can't find stylesheet to import.
貌似是不支持使用了波浪号~开头的导入方式?
因为导入scss语法是第三方包里的,我需要想办法兼容。

Image

Image

Reproduction

none

Logs

Severity

annoyance

Additional Information

No response

@neohan666
Copy link
Author

@xiaohuoni 求助

@neohan666
Copy link
Author

#1443

@sorrycc sorrycc closed this as completed Feb 11, 2025
@sorrycc sorrycc reopened this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants