-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Original source files are transformed to TS with .js
references
#413
Comments
Facing this too - is there a config or something I need to toggle? |
Yeah for the Node output, they're supposed to have |
I think this is coming from https://github.com/denoland/wasmbuild via Line 350 in 00b9ab7
when Basically if you have:
then the result of
|
Example here: https://gist.github.com/joscha/49e26fb6a2e3b9cbae0f1f44b5879ec6 Run:
|
.js
references.js
references
The ESM output is fine with the .js imports, but the typechecking fails when it tries to import the deno shim or similar with a .js extension within an npm/src directory. |
are transformed TS files in the output expected to have
.js
references?E.g. TS code in
npm/...
all have imports ending in.js
, but they don't resolve anymore. Is that a JSR specialty or an issue with dnt? I can't find any information on it.The text was updated successfully, but these errors were encountered: