From a857b9c0a835bfc7c9b1d5b564b90fde70883467 Mon Sep 17 00:00:00 2001 From: feugy Date: Tue, 20 Feb 2024 14:18:32 +0100 Subject: [PATCH] chore: fixes build --- apps/nextjs/next.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/nextjs/next.config.js b/apps/nextjs/next.config.js index e1c2c4b..57c1bc9 100644 --- a/apps/nextjs/next.config.js +++ b/apps/nextjs/next.config.js @@ -1,9 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - experimental: { - serverActions: true, - }, - // reactStrictMode: false, + // https://stackoverflow.com/a/70841058 + pageExtensions: ['page.tsx', 'page.ts', 'page.jsx', 'page.js'], }; module.exports = nextConfig;