From 1e330ea798747fe7b459f3b245dadc42ff744a16 Mon Sep 17 00:00:00 2001 From: Saroj Dahal Date: Thu, 3 Oct 2024 14:15:07 +0545 Subject: [PATCH] update: build dir (vite) --- .gitignore | 1 + vite.config.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index a547bf3..bd98e77 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ lerna-debug.log* node_modules dist +build dist-ssr *.local diff --git a/vite.config.ts b/vite.config.ts index 3d46064..886799e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,6 +6,9 @@ import { TanStackRouterVite } from "@tanstack/router-plugin/vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [TanStackRouterVite(), viteReact()], + build: { + outDir: "build", + }, resolve: { alias: { "@": path.resolve(__dirname, "./src"),