Skip to content

Commit 308c23c

Browse files
roman-garciaclydin
andauthored
Update packages/angular/build/src/builders/application/chunk-optimizer.ts
Co-authored-by: Charles <19598772+clydin@users.noreply.github.com>
1 parent 657a323 commit 308c23c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/angular/build/src/builders/application/chunk-optimizer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,10 @@ function bundleOutputToEsbuildMetafile(
113113
continue;
114114
}
115115

116+
// Read once per module: in Rolldown, `renderedLength` is an uncached getter that
117+
// copies the entire module code across the NAPI bridge on each access.
116118
const { renderedLength } = renderedModule;
117-
119+
118120
for (const [originalInputPath, originalInputInfo] of Object.entries(
119121
originalOutputEntry.inputs,
120122
)) {

0 commit comments

Comments
 (0)