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
I've recently been migrating my company's codebase from Babel to swc, and in the process, I've found a bug which was causing invalid code to be generated. It seems Babel was able to handle this case, but swc was not.
Describe the bug
Hi team,
I've recently been migrating my company's codebase from Babel to swc, and in the process, I've found a bug which was causing invalid code to be generated. It seems Babel was able to handle this case, but swc was not.
URL to minimal reproduction: https://gist.github.com/RDIL/94462a927acc6fcfd4e2fdbe8058b302
Expected behavior
It should output correct, valid CSS despite being a slightly invalid input.
If you change this line to:
it works.
Correct output:
Incorrect output does not contain this CSS rule.
The text was updated successfully, but these errors were encountered: