monaco-editor/test/cross-origin-worker-proxy.js

4 lines
236 B
JavaScript

self.MonacoEnvironment = {
baseUrl: 'http://localhost:8088/monaco-editor/node_modules/monaco-editor-core/min/'
};
importScripts('http://localhost:8088/monaco-editor/node_modules/monaco-editor-core/min/vs/base/worker/workerMain.js');