esm - remove AMD build scripts, tests and variables

This commit is contained in:
Benjamin Pasero
2024-09-27 08:04:00 +02:00
parent bdc5542f12
commit 332b89f198
43 changed files with 217 additions and 3335 deletions

View File

@@ -74,10 +74,7 @@ async function main() {
openSystemBrowser = true;
}
if (!fs.existsSync(path.join(APP_ROOT, 'src2')) && !fs.existsSync(path.join(APP_ROOT, 'out-build', 'amd'))) {
serverArgs.push('--esm');
}
serverArgs.push('--esm'); // TODO@esm this should be the default
serverArgs.push('--sourcesPath', APP_ROOT);
serverArgs.push(...process.argv.slice(2).filter(v => !v.startsWith('--playground') && v !== '--no-playground'));