From 005c9de4dc800e399c762e6b6bdef52f0159ceb4 Mon Sep 17 00:00:00 2001 From: Nathaniel Tucker Date: Sat, 28 Oct 2023 21:42:08 +0100 Subject: [PATCH] docs: Fix nextjs stackblitz demo --- examples/nextjs/.babelrc | 3 +++ examples/nextjs/next.config.js | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 examples/nextjs/.babelrc 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;