diff --git a/next.config.mjs b/next.config.mjs index f07358f..44ee2f9 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + distDir: process.env.NEXT_DIST_DIR || ".next", output: "standalone", images: { remotePatterns: [ diff --git a/tsconfig.json b/tsconfig.json index 868d7b5..d90975c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -63,8 +63,8 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", - ".next/types/**/*.ts", - ".next/dev/types/**/*.ts" + ".next*/types/**/*.ts", + ".next*/dev/types/**/*.ts" ], "exclude": [ "node_modules"