-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Plugins built with swc_core >= 0.76.0 doesn't work in the next-swc and @swc/core #7470
Comments
Quick checking, same occurs on debug build / turning off lto from release build? |
@kwonoj i've tested only with release build [profile.release]
# This removes more dead code
codegen-units = 1
lto = true
# Optimize for size
opt-level = "s"
# Optimize for performance, this is default so you don't need to specify it
# opt-level = "z" |
Yes, requesting to test with debug / or lto off. |
It seems it works with
Which is happened only if swc plugins are enabled. The more details described here vercel/next.js#36078 (comment) Regarding |
I'd consider this issue itself is resolved for now. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
Related issue on plugin repo: lingui/swc-plugin#61
Plugin is built with
swc_core@0.76.0
andnightly-2023-03-09
and it doesn't work with"@swc/core": "1.3.61"
which according to "Selecting version" should do.I also tried
swc_core@0.76.37
andnightly-2023-03-20
and have the same result.I'm getting issue
RuntimeError: uninitialized element
:Input code
No response
Config
No response
Playground link
No response
Expected behavior
It should work
Actual behavior
No response
Version
swc_core@0.76.0
Additional context
No response
The text was updated successfully, but these errors were encountered: