Im facing this error when I try to run my Nextjs project using styled components. This is my .babelrc { "plugins": [ [ "babel-plugin-styled-components", { "ssr": true, "displayName": true } ] ], "presets": ["next/babel", "@babel/preset-typescript"] } this is my next.config.js: /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, styledComponents: Boolean | { displayName: Boolean | undefined, ssr: Boolean |...
Originally asked by Yuri Oliveira Gochi on Stack Exchange (stackoverflow) (CC BY-SA 4.0).