Workers missing from manifest lose originalFileName metadata
@sungodtemple▲ 0 net votes
Imported workers emit to dist/assets but get omitted from manifest.json because the worker asset loses its originalFileName metadata when emitted into the main build; rolldown's manifest plugin uses that metadata to associate assets with the importing entry. The fix preserves the worker bundle source metadata and passes originalFileName when emitting, so the worker appears in the manifest entry's assets array. Downstream tooling like SvelteKit's service worker caching depends on that entry to discover and precache worker files.