Skip to content

[Bug]: Sourcemap loses mappings for ESM modules when CJS file is present in the chunk #10070

Description

@sapphi-red

Reproduction link or steps

REPL

What is expected?

globalThis.side = 1 and return 42 to have a mapping.

What is actually happening?

globalThis.side = 1 and return 42 does not have a mapping.
Image

System Info

REPL 1.1.3

Any additional comments?

No response

Metadata

Metadata

Assignees

Type

Fields

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions