Skip to content

Source maps missing for hoisted imports for ssrTransforms #16355

Closed
@smcenlly

Description

Describe the bug

We rely on source maps to correctly report errors to users in the dev tools that we create (Wallaby.js, Quokka.js, Console Ninja), but they are missing for import statements that are hoisted as a part of ssrTransforms.

See example source map visualization.

We've fixed the issue and created a test case against the main branch and will link to a PR once this issue has been created.

Validations

Metadata

Assignees

No one assigned

    Labels

    feat: sourcemapSourcemap supportfeat: ssrp3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions