You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lightningcss fails on scss single line comments when using it as a transformer. It's strange because it should be processed by scss to generate valid css comments since it supports only multiline comments. I has another part of an app bundling by rspack and it works fine so it appears a vite bug
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
As I said before I have another part of an app that also using lightningcss and it doesnt have any issues with it because rspack/webpack transforms scss file to css before passing it to lightningcss loader
Describe the bug
Lightningcss fails on scss single line comments when using it as a transformer. It's strange because it should be processed by scss to generate valid css comments since it supports only multiline comments. I has another part of an app bundling by rspack and it works fine so it appears a vite bug
Reproduction
https://github.com/taras-turchenko-moc/lightningcss-scss-comments-bug
Steps to reproduce
Reproduction link has a github repo with default vanilla setup, enabled lightningcss, renamed style.css to scss and added a comment
System Info
Used Package Manager
npm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: