diff --git a/.gitignore b/.gitignore index 6f40ade05..9c47e6892 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ # next.js /.next/ +/dist/ /out/ # production diff --git a/next.config.mjs b/next.config.mjs index 66f917b66..8f53ed084 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -11,7 +11,7 @@ let nextConfig = { ...BuildOptions.exportFrontend && { // Export the frontend to ./dist output: 'export', - distDir: 'out', + distDir: 'dist', // Disable Image optimization images: { unoptimized: true }, diff --git a/tsconfig.json b/tsconfig.json index f7924e6b0..2b78b4df0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -36,5 +36,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "dist"] }