Skip to content

Source maps in the npm tarball are not merged with the original source map #1110

Open
@nicolo-ribaudo

Description

@nicolo-ribaudo

Package: https://jsr.io/@babel-test-6ae45912/core/0.0.13-8.0.0-alpha.17

The relevant folder is lib/, with the files that will actually be run when using the package.

Notice that it contains a bunch of .ts files, and each of them has a corresponding .ts.map source map (linked to from the comment at the bottom of each .ts file).

The tarball generated for npm compatibility has the auto-generated .js files and the corresponding .js.map files. However, these .js.map files point to the .ts file as the original source, rather than being merged with the source map applied to the .ts file to show the real original source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions