From 2b30a400130ae8dfad9b6cda752f6dae503c8d50 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 3 Oct 2024 12:07:04 +0200 Subject: [PATCH] esm - restore `--esm` for web test runner (#230379) --- scripts/code-web.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/code-web.js b/scripts/code-web.js index 467f147d027..f05c934cadf 100644 --- a/scripts/code-web.js +++ b/scripts/code-web.js @@ -74,6 +74,7 @@ async function main() { openSystemBrowser = true; } + 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'));