-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add types
field to exports to resolve node16
and nodenext
typescript module resolution
#158
Comments
This is in my current batch of work, and I'll tackle it this week. Sorry it took 18 months from the first report! Thanks to my GitHub Sponsors, I've now been able to afford this month to work on my javascript projects again. The more sponsors, the more I can support my projects, and the smaller the delay in fixes. |
The reason Bevry never encountered this issue is twofold:
I'm now testing the |
Okay, so To make this happen properly I think I'll make an edition for the types, that way it's entry can be easily fetched. The code has also reemerged the issue of deno/bun/worker exports. Currently that is handled via entry points, however generating exports for them I believe was something we did. I will need to look into this tomorrow. |
The change has been verified on the I'll now run the new boundation release on all the bevry packages, and it'll roll out over the coming days. |
Several of the Bevry projects have users trying to use this new module resolution in TypeScript >= 4.7. Bevry hasn't encountered this yet as we just use
node
as the module resolution.The solution to this is to have boundation generate a
types
export, this will resolve it on all Bevry projects and prevent reversion of manual changes from these PRs:exports
entry of thepackage.json
envfile#210And these issues:
"moduleResolution": "node16"
istextorbinary#270The text was updated successfully, but these errors were encountered: