diff --git a/frontend/next.config.mjs b/frontend/next.config.mjs index f5cbc38..7b054f2 100644 --- a/frontend/next.config.mjs +++ b/frontend/next.config.mjs @@ -9,6 +9,9 @@ const nextConfig = { images: { unoptimized: true, }, + output: 'export', + trailingSlash: true, + distDir: 'out', } export default nextConfig diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 4b2dc7b..501b47f 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,6 +1,10 @@ { "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "target": "ES6", "skipLibCheck": true, @@ -19,9 +23,19 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": [ + "./*" + ] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + "next-env.d.ts", + "out/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] }