build(tauri): 更改打包配置

This commit is contained in:
BTMuli
2023-03-30 14:20:20 +08:00
parent cee575ad6b
commit 3953b98a48
4 changed files with 38 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ export default defineConfig({
clearScreen: false,
// tauri expects a fixed port, fail if that port is not available
server: {
port: 1420,
port: 3000,
strictPort: true,
},
// to make use of `TAURI_DEBUG` and other env variables