From 79845c4f0ad1dc3e6cf631aee882df9ef8ee42d5 Mon Sep 17 00:00:00 2001 From: Henit Chobisa Date: Fri, 18 Aug 2023 09:46:10 +0000 Subject: [PATCH] fix: next js config to standalone mode --- apps/space/next.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/space/next.config.js b/apps/space/next.config.js index 398eb0400..0dd1894bb 100644 --- a/apps/space/next.config.js +++ b/apps/space/next.config.js @@ -1,9 +1,14 @@ /** @type {import('next').NextConfig} */ +const path = require('path') const nextConfig = { + reactStrictMode: false, + swcMinify: true, experimental: { + outputFileTracingRoot: path.join(__dirname, "../../"), appDir: true, }, + output: 'standalone' }; module.exports = nextConfig;