mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Use the global monaco only in the AMD case (see https://github.com/microsoft/monaco-editor/issues/1974)
This commit is contained in:
parent
47ee25bf88
commit
28d4512f33
17 changed files with 321 additions and 235 deletions
|
|
@ -24,14 +24,14 @@ bundleOne('monaco.contribution');
|
|||
bundleOne('jsonMode');
|
||||
bundleOne('jsonWorker');
|
||||
|
||||
function bundleOne(moduleId, exclude) {
|
||||
function bundleOne(moduleId) {
|
||||
requirejs.optimize({
|
||||
baseUrl: 'out/amd/',
|
||||
name: 'vs/language/json/' + moduleId,
|
||||
out: 'release/dev/' + moduleId + '.js',
|
||||
exclude: exclude,
|
||||
paths: {
|
||||
'vs/language/json': REPO_ROOT + '/out/amd'
|
||||
'vs/language/json': REPO_ROOT + '/out/amd',
|
||||
'vs/language/json/fillers/monaco-editor-core': REPO_ROOT + '/out/amd/fillers/monaco-editor-core-amd',
|
||||
},
|
||||
optimize: 'none',
|
||||
packages: [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue