mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Simplify buildAMD usages
This commit is contained in:
parent
0278fd481d
commit
6b2860b7b0
6 changed files with 25 additions and 17 deletions
|
|
@ -26,15 +26,16 @@ buildESM({
|
|||
buildAMD({
|
||||
base: 'monaco-json',
|
||||
entryPoint: 'src/monaco.contribution.ts',
|
||||
banner: 'define("vs/language/json/monaco.contribution",["vs/editor/editor.api"],()=>{'
|
||||
amdModuleId: 'vs/language/json/monaco.contribution',
|
||||
amdDependencies: ['vs/editor/editor.api']
|
||||
});
|
||||
buildAMD({
|
||||
base: 'monaco-json',
|
||||
entryPoint: 'src/jsonMode.ts',
|
||||
banner: 'define("vs/language/json/jsonMode",["vs/editor/editor.api"],()=>{'
|
||||
amdModuleId: 'vs/language/json/jsonMode'
|
||||
});
|
||||
buildAMD({
|
||||
base: 'monaco-json',
|
||||
entryPoint: 'src/jsonWorker.ts',
|
||||
banner: 'define("vs/language/json/jsonWorker",[],()=>{'
|
||||
amdModuleId: 'vs/language/json/jsonWorker'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue