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

babel-preset: transforms dont work with swc commonjs output #514

Closed
Hotell opened this issue Mar 6, 2024 · 1 comment
Closed

babel-preset: transforms dont work with swc commonjs output #514

Hotell opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels
🥲 wontfix This will not be worked on

Comments

@Hotell
Copy link
Contributor

Hotell commented Mar 6, 2024

cross posting for better visibility

All the context: microsoft/fluentui#26251

@Hotell Hotell changed the title babel-preset: transforms dont work with swc commonjs output babel-preset: transforms dont work with swc commonjs output Mar 6, 2024
@layershifter
Copy link
Member

@Hotell indeed, Linaria v3 does not have the best handling of SWC output (which changes from version to version 🙄 ) and will not as it's EOL. wyw-in-js has better coverage there, Anber/wyw-in-js#19. Anyway, compiling CJS code is not something that we are looking forward.

With a switch to wyw-in-js it should work in the scenario linked, #513 (comment).

@layershifter layershifter added the 🥲 wontfix This will not be worked on label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥲 wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants