Harden client and WebSocket proxy
This commit is contained in:
+1
-18
@@ -80,21 +80,4 @@ export default defineConfig({
|
||||
server: {
|
||||
// No proxy - we're using a standalone WebSocket server on port 3001
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
events: 'events' // This helps with browser compatibility
|
||||
}
|
||||
},
|
||||
optimizeDeps: {
|
||||
esbuildOptions: {
|
||||
define: {
|
||||
global: 'globalThis'
|
||||
}
|
||||
}
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ['net'] // Exclude Node-specific modules
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user