mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-05-12 05:39:39 +08:00
- 移除 v0.4.7 引入的高风险 chunk 拆分配置 - 恢复 main.tsx 的 Monaco 稳定初始化方式 - 调整 release workflow 的 macOS codesign 参数避免双击无反应
16 lines
311 B
TypeScript
16 lines
311 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
strictPort: true,
|
|
},
|
|
build: {
|
|
outDir: 'dist', // Standard Wails output directory
|
|
emptyOutDir: true,
|
|
}
|
|
})
|