Skip to content

Commit

Permalink
fix(demo): disable minifySyntax as it breaks the demo for some reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Oct 8, 2024
1 parent 0b834a1 commit 9f1e934
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export default defineConfig({
}
}
],
esbuild: {
minifySyntax: false
},
optimizeDeps: {
// This is require because vite excludes local dependencies from being optimized
// Monaco-vscode-api packages are local dependencies and the number of modules makes chrome hang
Expand Down
3 changes: 3 additions & 0 deletions demo/vite.netlify.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default defineConfig({
worker: {
format: 'es'
},
esbuild: {
minifySyntax: false
},
resolve: {
dedupe: ['vscode', ...localDependencies]
}
Expand Down

0 comments on commit 9f1e934

Please sign in to comment.