mirror of
https://gitee.com/nicefold/seewis-soybean-plus.git
synced 2026-10-14 03:52:28 +08:00
8 lines
242 B
TypeScript
8 lines
242 B
TypeScript
import monacoEditorPlugin from 'vite-plugin-monaco-editor';
|
|
|
|
export function setupMonacoEditorPlugin() {
|
|
return (monacoEditorPlugin as any).default({
|
|
languageWorkers: ['editorWorkerService', 'css', 'html', 'json', 'typescript']
|
|
});
|
|
}
|