Skip to content

Commit

Permalink
fix: force optimize textmate worker
Browse files Browse the repository at this point in the history
as it imports vscode-textmate which is commonjs
  • Loading branch information
Loïc Mangeonjean committed Sep 26, 2023
1 parent 7e2e5db commit ee55e03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default defineConfig({
'@codingame/monaco-vscode-typescript-language-features-default-extension', '@codingame/monaco-vscode-markdown-language-features-default-extension',
'@codingame/monaco-vscode-json-language-features-default-extension', '@codingame/monaco-vscode-css-language-features-default-extension',
'@codingame/monaco-vscode-npm-default-extension', '@codingame/monaco-vscode-css-default-extension', '@codingame/monaco-vscode-markdown-basics-default-extension', '@codingame/monaco-vscode-html-default-extension',
'@codingame/monaco-vscode-html-language-features-default-extension', '@codingame/monaco-vscode-configuration-editing-default-extension', '@codingame/monaco-vscode-media-preview-default-extension', '@codingame/monaco-vscode-markdown-math-default-extension'
'@codingame/monaco-vscode-html-language-features-default-extension', '@codingame/monaco-vscode-configuration-editing-default-extension', '@codingame/monaco-vscode-media-preview-default-extension', '@codingame/monaco-vscode-markdown-math-default-extension',
'vscode/workers/textmate.worker'
],
esbuildOptions: {
plugins: [{
Expand Down

0 comments on commit ee55e03

Please sign in to comment.