Skip to content

Bug: Global import path rewritten incorrectly #577

@marvinhagemeister

Description

@marvinhagemeister

Discussed in #576

Originally posted by CreepGin May 28, 2024
I'm trying to convert some existing repos to be compatible with JSR, but am running into 2 issues.

jsr publish is prepending "./" to global module import paths. It's turning

import { float4 } from "Unity/Mathematics"

into

import { float4 } from "./Unity/Mathematics"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions