From 38e55be7aa57466846d1194018df49922ddb3bb4 Mon Sep 17 00:00:00 2001 From: GyDi Date: Wed, 22 Dec 2021 01:15:04 +0800 Subject: [PATCH] chore: emptyOutDir --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index bc72ba1..8173b2a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,5 +7,6 @@ export default defineConfig({ plugins: [react()], build: { outDir: "../dist", + emptyOutDir: true, }, });