Don't include files for unused languages

This commit is contained in:
Nick Mowen 2022-12-17 15:30:20 -07:00
parent 4fb188f1e3
commit d34dbbca37

View File

@ -10,7 +10,8 @@ export default defineConfig({
'import.meta.vitest': 'undefined', 'import.meta.vitest': 'undefined',
}, },
plugins: [preact(), monacoEditorPlugin.default({ plugins: [preact(), monacoEditorPlugin.default({
customWorkers: [{label: 'yaml', entry: 'monaco-yaml/yaml.worker'}] customWorkers: [{ label: 'yaml', entry: 'monaco-yaml/yaml.worker' }],
languageWorkers: [], // we don't use any of the default languages
})], })],
test: { test: {
environment: 'jsdom', environment: 'jsdom',