From 33ef083775bc1ee11e8a87548448e272398b774e Mon Sep 17 00:00:00 2001 From: Reza Rahemtola Date: Thu, 24 Oct 2024 00:36:56 +0900 Subject: [PATCH] feat(front): Add build directory --- front/next.config.mjs | 6 ++++-- front/tsconfig.json | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/front/next.config.mjs b/front/next.config.mjs index 4678774..e95be5e 100644 --- a/front/next.config.mjs +++ b/front/next.config.mjs @@ -1,4 +1,6 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = {}; +/** @type {import("next").NextConfig} */ +const nextConfig = { + distDir: "build", +}; export default nextConfig; diff --git a/front/tsconfig.json b/front/tsconfig.json index 6c825a6..eb918b0 100644 --- a/front/tsconfig.json +++ b/front/tsconfig.json @@ -31,7 +31,8 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", - ".next/types/**/*.ts" + ".next/types/**/*.ts", + "build/types/**/*.ts" ], "exclude": [ "node_modules"