Closed AndrewSouthpaw closed 1 year ago
Hi @AndrewSouthpaw. Sorry for the delayed response. This looks connected to a known issue which gets extremely into the weeds. Long story short, we had to reengineer the resolutions portion of the library to support some of these edge cases with indexes and to better support ESM.
At the moment, that's nearly finished, but I've not had time to finish it, unfortunately. In the mean time, you can use the @transform-path tag as a workaround!
Closing this issue as a duplicate.
Please follow this for updates:
For various reasons, I had a TS path that reached deeply into an npm package:
I'd have an import like this:
Which I would expect to be translated to something like:
But instead the transformed output would stop at the index of the node module:
Any ideas what's going on here? Is that a bug or expected behavior? Or am I just using the package wrong? 🤔