Skip to content

[Bug]: imports field does not include the values it should when the chunks are merged #7297

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-43ncv6xc?file=src%2Fentry.js,src%2Fentry2.js,rolldown.config.mjs

What is expected?

[ [ 'entry.js', ['entry2.js'] ], [ 'entry2.js', [] ] ]

to be output.

What is actually happening?

[ [ 'entry.js', [] ], [ 'entry2.js', [] ] ]

is output.

System Info

https://pkg.pr.new/@rolldown/browser@3d500e3

Any additional comments?

Probably caused by #7194

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions