From 1ef42e4e7b05b8d3741b647cd11ebfb780b24a8a Mon Sep 17 00:00:00 2001 From: iCrawl Date: Fri, 25 Nov 2022 19:33:30 +0100 Subject: [PATCH] chore: nextjs 13 changes --- apps/website/next.config.js | 1 + apps/website/tsconfig.json | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/apps/website/next.config.js b/apps/website/next.config.js index 95ed0a18c..b870121bf 100644 --- a/apps/website/next.config.js +++ b/apps/website/next.config.js @@ -11,6 +11,7 @@ export default { }, cleanDistDir: true, experimental: { + appDir: true, outputFileTracingRoot: fileURLToPath(new URL('../../', import.meta.url)), fallbackNodePolyfills: false, }, diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json index 4f5b62466..10030dfe2 100644 --- a/apps/website/tsconfig.json +++ b/apps/website/tsconfig.json @@ -9,6 +9,11 @@ "allowJs": false, "incremental": true, "skipLibCheck": true, + "plugins": [ + { + "name": "next" + } + ], "paths": { "~/*": ["./src/*"] }