BigW Consortium Gitlab

monaco_loader.js 336 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/* eslint-disable no-underscore-dangle, camelcase */
/* global __webpack_public_path__ */

import monacoContext from 'monaco-editor/dev/vs/loader';

monacoContext.require.config({
  paths: {
    vs: `${__webpack_public_path__}monaco-editor/vs`,
  },
});

window.__monaco_context__ = monacoContext;
export default monacoContext.require;