mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 14:22:01 +00:00
Images and other assets referenced only via HTML tags (<img src>, <link rel="icon">, etc.) were missing from the HTMLBundle manifest's files array. These assets use .url import records which don't propagate entry_bits through the linker's code splitting graph, causing the intersection check in HTMLImportManifest to exclude them. The fix builds a set of source indices directly referenced by the HTML file's import records and includes matching additional output files in the manifest alongside the existing entry_bits check. Closes #27031 Co-Authored-By: Claude <noreply@anthropic.com>