How to prevent JSR from transforming import paths? #576
-
I'm trying to convert some existing repos to be compatible with JSR, but am running into 2 issues.
import { float4 } from "Unity/Mathematics" into import { float4 } from "./Unity/Mathematics" Also, it's appending ".ts" to relative import path, automatically turning export { palettes } from "./color-palettes" into export { palettes } from "./color-palettes.ts" I'm sure there're good reasons for this, but is there any way to prevent it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Creating an issue out of the first one |
Beta Was this translation helpful? Give feedback.
-
@marvinhagemeister Thx! So a follow-up question for 2): The consumer of my package will get the Looking at the issue here: microsoft/TypeScript#27481 Is fix-tsc-es-imports the only way forward? |
Beta Was this translation helpful? Give feedback.
Creating an issue out of the first one