0.3.1-0-pre.4.fix.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/apps/game-snake-poc-tauri/vite.config.ts
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { resolve } from "node:path";
|
||||
@@ -71,15 +71,12 @@ export default defineConfig({
|
||||
fs: {
|
||||
allow: [appRoot, repositoryRoot, externalBuildRoot],
|
||||
},
|
||||
ws: devHost
|
||||
? {
|
||||
protocol: "ws",
|
||||
host: devHost,
|
||||
port: 1437,
|
||||
}
|
||||
: {
|
||||
clientPort: 1436,
|
||||
},
|
||||
ws: {
|
||||
protocol: "ws",
|
||||
host: devHost || "127.0.0.1",
|
||||
port: 1436,
|
||||
clientPort: 1436,
|
||||
},
|
||||
watch: {
|
||||
ignored: ["**/src/**"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user