mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
esm - more diff reduction (#225666)
This commit is contained in:
@@ -74,6 +74,10 @@ async function main() {
|
||||
openSystemBrowser = true;
|
||||
}
|
||||
|
||||
if (fs.existsSync(path.join(APP_ROOT, 'src2')) || fs.existsSync(path.join(APP_ROOT, 'out-build', 'esm'))) {
|
||||
serverArgs.push('--esm');
|
||||
}
|
||||
|
||||
serverArgs.push('--sourcesPath', APP_ROOT);
|
||||
|
||||
serverArgs.push(...process.argv.slice(2).filter(v => !v.startsWith('--playground') && v !== '--no-playground'));
|
||||
|
||||
Reference in New Issue
Block a user