You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@alshdavid do you know if there is any work in this direction?
Since Nodejs uses swc for type stripping, I had assumed that rewriting relative import file extensions already worked out of the box in swc. Turns out it does not?
will closesswc-project/swc#9800
It seems that swc doesn't rewrite relative import extensions:
swc-project/swc#9611, so I think this is a
safe change. If I'm missing something please tell me and I will do
corresponding changes.
Describe the feature
Nodejs have added experimental support for TypeScript however it requires imports with
.ts
extensions.The TypeScript team have landed on this solution to add support:
microsoft/TypeScript#59597
microsoft/TypeScript#59767
Would be great if swc offered a similar solution
Babel plugin or link to the feature description
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: