Use relative imports in cli.ts to import the cliProcessMaiin (#228044)
* Use relative imports in CLI * ignore joins * revert to prevent inliningpull/228066/head
parent
bffae5151e
commit
8b7eb51f54
|
@ -117,7 +117,7 @@ export async function main(argv: string[]): Promise<any> {
|
|||
|
||||
// Extensions Management
|
||||
else if (shouldSpawnCliProcess(args)) {
|
||||
const cli = await import(['vs', 'code', 'node', 'cliProcessMain'].join('/') /* TODO@esm workaround to prevent esbuild from inlining this */);
|
||||
const cli = await import(['./cliProcessMain.js'].join('/') /* TODO@esm workaround to prevent esbuild from inlining this */);
|
||||
await cli.main(args);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue