esm - worker cleanup (#226064)

This commit is contained in:
Benjamin Pasero
2024-08-20 17:51:26 +02:00
committed by GitHub
parent 9e560ad042
commit 34a756ae2e
12 changed files with 12 additions and 13 deletions
-1
View File
@@ -204,7 +204,6 @@ function optimizeESMTask(opts, cjsOpts) {
if (cjsOpts) {
cjsOpts.entryPoints.forEach(entryPoint => entryPoints.push({ name: path.parse(entryPoint).name }));
}
entryPoints.push({ name: 'vs/base/worker/workerMain' }); // TODO@esm remove hardcoded entry point when workers are cleaned up
const allMentionedModules = new Set();
for (const entryPoint of entryPoints) {
allMentionedModules.add(entryPoint.name);