Skip to content

Commit

Permalink
fix(ui): Socket Panel > as constructor names are mangled by esbuild, …
Browse files Browse the repository at this point in the history
…isConnected was not working as we depend on the constructor name of the Socket IO instance - probably not a great practice but don't see a simple alternative for now - code was working in vite dev mode, so the issue went unnoticed to prod
  • Loading branch information
flawiddsouza committed Jan 16, 2024
1 parent 1473b7f commit 0f22829
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/ui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ export default defineConfig(({ mode }) => {
base: '',
test: {
reporters: 'verbose'
}
},
esbuild: {
minifyIdentifiers: false,
},
}

if(mode === 'desktop') {
Expand Down

0 comments on commit 0f22829

Please sign in to comment.