From 9afac21353ffa036097903e4a0e98dbbc816c81a Mon Sep 17 00:00:00 2001 From: Peter Chang Date: Mon, 6 Jul 2026 14:21:20 +0100 Subject: [PATCH] Fix vite config to workaround react-draggable issue --- client/example/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/example/vite.config.ts b/client/example/vite.config.ts index dbbe5af8..cc1a3ad0 100644 --- a/client/example/vite.config.ts +++ b/client/example/vite.config.ts @@ -7,6 +7,7 @@ export default defineConfig({ base: './', define: { global: 'window', // this fixes global is not defined + 'process.env.DRAGGABLE_DEBUG': 'undefined', // fixes react-draggable issue in its log function }, build: { outDir: '../../server/example-client/sdist',