Closed DriveSoft closed 7 months ago
You can also not use babel and simply use next-superjson-plugin
which is a SWC plugin. With this you can remove the babel plugin and the babelrc file, which should make your error disappear.
Thanks for the feedback !
Closing from inactivity, but feel free to open again if the issue persists
Hi.
After updating (3.3.1) and installing babel-plugin-superjson-next superjson next-superjson-plugin and creating .babelrc file
I'm getting messages:
Solution: if you want to use SWC despite the presence of a .babelrc file you can force it in your next.config.js file. https://nextjs.org/docs/messages/swc-disabled