From 20f63cc652ef86c87af6d4f4fd0d59012ee64e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Mon, 25 Sep 2023 12:35:42 +0200 Subject: [PATCH] fix: force optimize textmate worker as it imports vscode-textmate which is commonjs --- demo/vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/vite.config.ts b/demo/vite.config.ts index e5682ea0..d0971466 100644 --- a/demo/vite.config.ts +++ b/demo/vite.config.ts @@ -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: [{