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: af83a1ec0b4eb99533b0f28e8fa5d35d31305a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
import monacoContext from 'monaco-editor/dev/vs/loader';

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

// eslint-disable-next-line no-underscore-dangle
window.__monaco_context__ = monacoContext;
export default monacoContext.require;