mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-05-06 20:03:05 +08:00
- 移除未使用的 DBQuery 导入和 currentQueryId 解构 - 简化正则表达式 [\w] 为 \w(4处) - 移除变量初始值冗余和 nextKey 中间变量 - 为异步调用添加 void 前缀消除 Promise 忽略警告 - 为暂未使用的 getLeadingKeyword/applyAutoLimit 添加 DEBT 标记
16 lines
366 B
JavaScript
16 lines
366 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: '127.0.0.1',
|
|
port: 5173,
|
|
strictPort: true,
|
|
},
|
|
build: {
|
|
outDir: 'dist', // Standard Wails output directory
|
|
emptyOutDir: true,
|
|
}
|
|
});
|