support WS_DISABLED env value for pl-fe dev

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-15 18:49:50 +01:00
parent 1078662bcb
commit 4c3e75b334

View File

@ -31,6 +31,7 @@ const config = defineConfig(({ command }) => ({
server: {
port: Number(process.env.PORT ?? 7312),
hmr: process.env.HMR_DISABLED === 'true' ? false : undefined,
ws: process.env.WS_DISABLED === 'true' ? false : undefined,
},
plugins: [
checker({ typescript: true }),