Next.js Discord

Discord Forum

How do I update Next's SWC config?

Unanswered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Northeast Congo LionOP
I have a fresh NextJS 14 install running, and it has jsc.transform.react.throwIfNamespace stuck on by default. The only info I've found so far around SWC config changes is some instructions for configuring Babel, which I'm not using, and don't want to fall back to if I don't have to.

I added the Bug tag because from my testing, React's current JSX parser supports <Foo bar:baz={true} /> and this error in SWC is now being thrown erroneously.

2 Replies