mirror of
https://github.com/hanzoai/code.git
synced 2026-09-30 20:53:35 +00:00
rebase from vscode f35c3823
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ async function main() {
|
||||
openSystemBrowser = true;
|
||||
}
|
||||
|
||||
if (fs.existsSync(path.join(APP_ROOT, 'src2')) || fs.existsSync(path.join(APP_ROOT, 'out-build', 'esm'))) {
|
||||
if (!fs.existsSync(path.join(APP_ROOT, 'src2')) && !fs.existsSync(path.join(APP_ROOT, 'out-build', 'amd'))) {
|
||||
serverArgs.push('--esm');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user