mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Move json sources to /src/
This commit is contained in:
parent
a8df4018f1
commit
c41a5ce8aa
15 changed files with 39 additions and 184 deletions
|
|
@ -17,6 +17,11 @@ dts(
|
|||
`out/release/html/monaco.d.ts`,
|
||||
'monaco.languages.html'
|
||||
);
|
||||
dts(
|
||||
`out/amd/json/monaco.contribution.d.ts`,
|
||||
`out/release/json/monaco.d.ts`,
|
||||
'monaco.languages.json'
|
||||
);
|
||||
|
||||
buildESM2({
|
||||
base: 'css',
|
||||
|
|
@ -65,3 +70,25 @@ buildAMD2({
|
|||
entryPoint: 'src/html/htmlWorker.ts',
|
||||
amdModuleId: 'vs/language/html/htmlWorker'
|
||||
});
|
||||
|
||||
buildESM2({
|
||||
base: 'json',
|
||||
entryPoints: ['src/json/monaco.contribution.ts', 'src/json/jsonMode.ts', 'src/json/json.worker.ts'],
|
||||
external: ['monaco-editor-core', '*/jsonMode']
|
||||
});
|
||||
buildAMD2({
|
||||
base: 'json',
|
||||
entryPoint: 'src/json/monaco.contribution.ts',
|
||||
amdModuleId: 'vs/language/json/monaco.contribution',
|
||||
amdDependencies: ['vs/editor/editor.api']
|
||||
});
|
||||
buildAMD2({
|
||||
base: 'json',
|
||||
entryPoint: 'src/json/jsonMode.ts',
|
||||
amdModuleId: 'vs/language/json/jsonMode'
|
||||
});
|
||||
buildAMD2({
|
||||
base: 'json',
|
||||
entryPoint: 'src/json/jsonWorker.ts',
|
||||
amdModuleId: 'vs/language/json/jsonWorker'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue