Welcome to mirror list, hosted at ThFree Co, Russian Federation.

monaco_loader.js « repo « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad1370a773067a26abb56da1717b17e3baa56793 (plain)
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;