support WS_DISABLED env value for pl-fe dev
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user