This commit is contained in:
lchen committed 2026-11-24 11:16:30 +08:00
1 parent 9028805363
commit 5fb3457530
2 files changed
+4 -5

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
import { defineConfig } from 'vite';
export default defineConfig({
root: 'sample'
})
export default defineConfig(env => ({
root: env.command === 'serve' ? 'sample' : undefined
}))