rebase from vscode f35c3823

This commit is contained in:
Andrew
2024-09-24 04:46:08 +00:00
parent 9104b38c11
commit 9a98922ae2
4296 changed files with 94135 additions and 72112 deletions
+1 -1
View File
@@ -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');
}