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
Using Next.js, TypeScript, and minification with the SWC compiler, causes rainbowkit to break. Happens with both a static site export and building and running a next server. I'm unsure if this is something that can be fixed inside the rainbowkit package or if this is an issue within swc.
In short: typescript + the swcMinify option inside next.config.js causes this issue.
Expected Behavior
Work with the swc compiler.
Steps To Reproduce
Please refer to the linked repository for a minimal reproducible example and steps to reproduce.
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
Thanks for the update @giliamverheide – going to close this issue! Feel free to re-open if you think there's something else going on here w/ RainbowKit!
Is there an existing issue for this?
RainbowKit Version
0.1.0
wagmi Version
0.3.5
Current Behavior
Using Next.js, TypeScript, and minification with the SWC compiler, causes rainbowkit to break. Happens with both a static site export and building and running a next server. I'm unsure if this is something that can be fixed inside the rainbowkit package or if this is an issue within
swc
.In short: typescript + the
swcMinify
option insidenext.config.js
causes this issue.Expected Behavior
Work with the swc compiler.
Steps To Reproduce
Please refer to the linked repository for a minimal reproducible example and steps to reproduce.
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://github.com/giliamverheide/next-ts-swc-rainbowkit-issue
The text was updated successfully, but these errors were encountered: