Please add TypeScript paths
support.
#318
matthew-dean
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, this tool will simply transform TypeScript source code to ESM / CJS equivalents (and
.d.ts
files). However, this breaks down quickly if you're using thepaths
property in yourtsconfig.json
file, which is common in many TypeScript projects. Even if you get a Babel transform for TS paths, you're still left with invalid / unresolvableindex.d.ts
files, and consuming projects will complain about not being able to find types. It would be great if this tool just handled both automatically, transforming paths during output.Beta Was this translation helpful? Give feedback.
All reactions