Skip to content

jsr adds an extra slash for named exports jsr:/@std/path@1.0.8/posix #1081

@inverted-capital

Description

@inverted-capital

That slash is actually fine - jsr: and jsr:/ are equivalent :)

The same also applies to npm: and npm:/.

Originally posted by @lucacasonato in #400

I am having an issue with this, as it breaks installs in stackblitz.com.

In stackblitz, any imports that do not have this additional slash at the front work fine, but with the slash it fails to install using npx jsr add.

If jsr: and jsr:/ are equivalent, then could jsr pretty please just output jsr: consistently, to ease the integration with other parts of the ecosystem ?

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