Skip to content

Commit 72a47f5

Browse files
authored
Fix vite config to workaround react-draggable issue (#234)
1 parent 38fa90f commit 72a47f5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

client/example/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default defineConfig({
77
base: './',
88
define: {
99
global: 'window', // this fixes global is not defined
10+
'process.env.DRAGGABLE_DEBUG': 'undefined', // fixes react-draggable issue in its log function
1011
},
1112
build: {
1213
outDir: '../../server/example-client/sdist',

0 commit comments

Comments
 (0)