-
Notifications
You must be signed in to change notification settings - Fork 15
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
SWC 4.0.1 plugin panics on latest @swc/core version 1.3.60 #61
Comments
That is strange. |
@thekip I tried building after updating Edit: Will try with same compiler versions. |
@thekip Tried building with |
It's getting annoying. Did you try this with a bare swc/core? There might be something broken in nextjs as it was recently. |
Yeah, I get ya... Not sure, I updated |
I've created an issue in upstream repo, I have nothing actionable from my side. I played with |
Yes happened the same here heyxyz/hey#2975 |
4.0.2 version is now working with latest next-swc and bare |
Describe the bug
If I have @swc/core 1.3.60 I get a panic and server fails to start. Forcing 1.3.49 fixes the issue and it works. 1.3.56 seems to be the highest version that still works.
@lingui/swc-plugin 4.0.1 does not work with any version (I tried @swc/core 1.3.49 up to 1.3.60).
@lingui/swc-plugin 4.0.0 works with up to @swc/core 1.3.56.
To Reproduce
Install @swc/core 1.3.60 and run project with @lingui/swc-plugin.
Adding this to package.json and reinstalling fixes the issue, suggesting it is just the new swc version causing the problem.
Expected behavior
It should not panic and crash.
Additional context
Add any other context about the problem here.
@lingui/swc-plugin
babel-macro-plugin
.babelrc
) or framework you use (Create React App, NextJs, Vite)The text was updated successfully, but these errors were encountered: