diff --git a/examples/nextjs/.babelrc b/examples/nextjs/.babelrc new file mode 100644 index 000000000000..e49a7e6569de --- /dev/null +++ b/examples/nextjs/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["next/babel"] +} \ No newline at end of file diff --git a/examples/nextjs/next.config.js b/examples/nextjs/next.config.js index 3d3bc9990d8b..91ef62f0db59 100644 --- a/examples/nextjs/next.config.js +++ b/examples/nextjs/next.config.js @@ -1,7 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - swcMinify: true, }; module.exports = nextConfig;