Added emptyOutDir option to Vite build config

This commit is contained in:
yangdx
2025-03-05 12:54:15 +08:00
parent 5f12aa3ee4
commit cb988f20da
5 changed files with 91 additions and 90 deletions

View File

@@ -14,6 +14,7 @@ export default defineConfig({
},
base: './',
build: {
outDir: path.resolve(__dirname, '../lightrag/api/webui')
outDir: path.resolve(__dirname, '../lightrag/api/webui'),
emptyOutDir: true
}
})