embark-area-51/embark-ui/public/monaco-editor-worker-loader-proxy.js
emizzle 4a74938725 Added monaco editor via react-monaco-editor
Needs to pull version from package.json
2018-08-22 19:18:20 -04:00

6 lines
243 B
JavaScript

self.MonacoEnvironment = {
baseUrl: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.13.1/min/'
};
importScripts('https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.13.1/min/vs/base/worker/workerMain.js'); // eslint-disable-line