-
Hello! I'm switching my react app into SWC compiler and I'm experiencing an issue that I can't find a solution for. Any ideas? I'll add that the app has mixed .tsx and .jsx files (we are in the middle of migration to TS). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
can you share a repro? |
Beta Was this translation helpful? Give feedback.
-
Use classic runtime or update react |
Beta Was this translation helpful? Give feedback.
-
In my case, it was a missing "defaultConfiguration" option for "build" in workspace.json. After setting it to "production" it's working fine. |
Beta Was this translation helpful? Give feedback.
In my case, it was a missing "defaultConfiguration" option for "build" in workspace.json. After setting it to "production" it's working fine.