perf: remove useless startupEntrypoint for ESM

This commit is contained in:
Natsu Xiao 2025-06-27 01:10:23 +08:00 committed by GitHub
parent 10fb5566e7
commit fab6c686fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -126,7 +126,6 @@ class ModuleChunkFormatPlugin {
if (chunk.hasRuntime()) return;
if (compilation.chunkGraph.getNumberOfEntryModules(chunk) > 0) {
set.add(RuntimeGlobals.require);
set.add(RuntimeGlobals.startupEntrypoint);
set.add(RuntimeGlobals.externalInstallChunk);
}
}