When I removed my current .babelrc in order to force NextJS 13 using SWC instead. It's showing the error: Error: Minified React error #130. But when I add the .babelrc file again everything worked normally
.babelrc file
{
"presets": ["next/babel"],
"plugins": [
["babel-plugin-styled-components", { "ssr": true, "displayName": true, "preprocess": false }],
"inline-react-svg"
]
}
I suspect it happens because the library styled-components but not sure how to fix. Has anyone encountered this situation?