1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Update vite config to work properly with all defaults

This commit is contained in:
Andrew Kingston 2022-08-17 09:21:36 +01:00
parent ee143e3a43
commit 9b20e91eb2

View file

@ -13,7 +13,7 @@ export default defineConfig(({ mode }) => {
strict: false, strict: false,
}, },
hmr: { hmr: {
protocol: "wss", protocol: env.VITE_HMR_PROTOCOL || "ws",
clientPort: env.VITE_HMR_CLIENT_PORT || 3000, clientPort: env.VITE_HMR_CLIENT_PORT || 3000,
path: env.VITE_HMR_PATH || "/", path: env.VITE_HMR_PATH || "/",
}, },