13 lines
336 B
JavaScript
13 lines
336 B
JavaScript
/* 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;
|