add tsc-alias for nodenext compatibility#1232
add tsc-alias for nodenext compatibility#1232Jakeii wants to merge 2 commits intoianstormtaylor:mainfrom
Conversation
|
Hi @Jakeii — thank you so much for your PR! I tested this locally, and unfortunately it doesn't seem to actually fix our issue. Our core problem is with types declarations, not actual source code (since that's bundled and therefore there are no imports) and I am not sure if tsc-alias actually hooks into that. Please lmk if you're still interested in trying to get this up and running. @yeoffrey managed to unblock us by moving over to Vitest so the road to NodeNext compat has been cleared and this is not blocking for the release (any more). Either way — thank you so much for the contrib! 🙌 |
|
@Jakeii I am going to close this for now, but if you feel like taking another crack at removing the .js extensions from our import paths in typedefs a PR is very welcome! |
|
Hi @arturmuller, the I did test locally and in worked for me? |
Use
tsc-aliasto add file extensions to type definitions for compatibility withNodeNext