Skip to content

Migrating asset handling on top of Rolldown's built-in handling #22709

Description

@sapphi-red

Why?

What is needed to done?

Replace __VITE__ASSET__ with Rolldown's import.meta.ROLLUP_FILE_URL_referenceId feature. Find out missing feature on the Rolldown side to achieve that. We may need to figure out whether the distinction of this.emitFile({ type: 'asset' }) and this.emitFile({ type: 'chunk' }) in Rolldown makes sense anymore as moduleTypes feature exists.

Metadata

Metadata

Assignees

Labels

p3-significantHigh priority enhancement (priority)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions