This commit is contained in:
2026-04-02 15:16:34 +08:00
commit 4facf82956
58 changed files with 6630 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from 'vite'
export default defineConfig({
clearScreen: false,
server: {
proxy: {
'/api': 'http://127.0.0.1:8098'
},
host: '0.0.0.0'
},
build: {
outDir: '../server/static',
emptyOutDir: true,
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
}
})