mps-platform/cds-fontend-2025.V1/build/plugins/monaco-editor.ts

8 lines
242 B
TypeScript
Raw Normal View History

2025-07-14 10:47:35 +08:00
import monacoEditorPlugin from 'vite-plugin-monaco-editor';
export function setupMonacoEditorPlugin() {
return (monacoEditorPlugin as any).default({
languageWorkers: ['editorWorkerService', 'css', 'html', 'json', 'typescript']
});
}