diff --git a/next.config.js b/next.config.js index 9bb41dd1..980da816 100644 --- a/next.config.js +++ b/next.config.js @@ -4,9 +4,10 @@ * @type {import('next').NextConfig} **/ const nextConfig = { - output: 'standalone', + // output: 'standalone', experimental: { appDir: true, + enableUndici: true, } }; diff --git a/tsconfig.json b/tsconfig.json index e6bb8eb4..62cf38e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,14 +17,20 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "plugins": [ + { + "name": "next" + } + ] }, "include": [ "next-env.d.ts", "**/*.ts", - "**/*.tsx" + "**/*.tsx", + ".next/types/**/*.ts" ], "exclude": [ "node_modules" ] -} +}