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 discovered this bug while working on my big Next.js 12 application using SWC and then reduced it to a very simple example on a fresh new create-next-app with Next.js 12. And I was able to reproduce it on the SWC playground too.
PS: The playground share functionality is not working at the moment.
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
Hi there,
I discovered this bug while working on my big Next.js 12 application using SWC and then reduced it to a very simple example on a fresh new create-next-app with Next.js 12. And I was able to reproduce it on the SWC playground too.
PS: The playground share functionality is not working at the moment.
Input code
Output code
Config
Playground link
SWC playground share functionality not working at the moment
Expected behavior
The generated code should not trigger an infinite loop
Version
1.2.11
Additional context
Do we need to rename anonymous functions when compiling to ES5?
Here's a live Next.js demo:
The text was updated successfully, but these errors were encountered: