mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
parent
b16daf88e2
commit
f5e7e16b8f
2 changed files with 1 additions and 8 deletions
|
|
@ -7,7 +7,6 @@ import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as cp from 'child_process';
|
import * as cp from 'child_process';
|
||||||
import * as esbuild from 'esbuild';
|
import * as esbuild from 'esbuild';
|
||||||
import alias from 'esbuild-plugin-alias';
|
|
||||||
import * as glob from 'glob';
|
import * as glob from 'glob';
|
||||||
import { ensureDir } from './fs';
|
import { ensureDir } from './fs';
|
||||||
|
|
||||||
|
|
@ -110,12 +109,7 @@ export function buildESM(options: { base: string; entryPoints: string[]; externa
|
||||||
},
|
},
|
||||||
external: options.external,
|
external: options.external,
|
||||||
outbase: `src/${options.base}`,
|
outbase: `src/${options.base}`,
|
||||||
outdir: `out/languages/bundled/esm/vs/${options.base}/`,
|
outdir: `out/languages/bundled/esm/vs/${options.base}/`
|
||||||
plugins: [
|
|
||||||
alias({
|
|
||||||
'vscode-nls': path.join(__dirname, 'fillers/vscode-nls.ts')
|
|
||||||
})
|
|
||||||
]
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,6 @@ export function toLoaderConfig(settings: Settings): IMonacoSetup {
|
||||||
}
|
}
|
||||||
|
|
||||||
Object.assign(setup.loaderConfigPaths, {
|
Object.assign(setup.loaderConfigPaths, {
|
||||||
"vs/fillers/monaco-editor-core": `${root}/out/languages/amd-tsc/fillers/monaco-editor-core-amd`,
|
|
||||||
"vs/language": `${languagesUrl}/language`,
|
"vs/language": `${languagesUrl}/language`,
|
||||||
"vs/basic-language": `${languagesUrl}/basic-language`,
|
"vs/basic-language": `${languagesUrl}/basic-language`,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue