| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 657a323 commit 308c23c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,8 +113,10 @@ function bundleOutputToEsbuildMetafile( | |||
| 113 | 113 | continue; | |
| 114 | 114 | } | |
| 115 | 115 | ||
| 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. | ||
| 116 | 118 | const { renderedLength } = renderedModule; | |
| 117 | - | ||
| 119 | + | ||
| 118 | 120 | for (const [originalInputPath, originalInputInfo] of Object.entries( | |
| 119 | 121 | originalOutputEntry.inputs, | |
| 120 | 122 | )) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments