mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +01:00
Avoid going through separate package.json files
This commit is contained in:
parent
d2e1d5104f
commit
aa5bb2cfa7
13 changed files with 38 additions and 30 deletions
|
|
@ -19,18 +19,22 @@ dts(
|
|||
);
|
||||
|
||||
buildESM({
|
||||
base: 'monaco-json',
|
||||
entryPoints: ['src/monaco.contribution.ts', 'src/jsonMode.ts', 'src/json.worker.ts'],
|
||||
external: ['monaco-editor-core', '*/jsonMode']
|
||||
});
|
||||
buildAMD({
|
||||
base: 'monaco-json',
|
||||
entryPoint: 'src/monaco.contribution.ts',
|
||||
banner: 'define("vs/language/json/monaco.contribution",["vs/editor/editor.api"],()=>{'
|
||||
});
|
||||
buildAMD({
|
||||
base: 'monaco-json',
|
||||
entryPoint: 'src/jsonMode.ts',
|
||||
banner: 'define("vs/language/json/jsonMode",["vs/editor/editor.api"],()=>{'
|
||||
});
|
||||
buildAMD({
|
||||
base: 'monaco-json',
|
||||
entryPoint: 'src/jsonWorker.ts',
|
||||
banner: 'define("vs/language/json/jsonWorker",[],()=>{'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue