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
{{ message }}
Repository navigation
feat: update moduleResolution from node to node16 or bundler #29716
I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Currently Ionic framework (@ionic/core) uses node as moduleResolution which is meant to be used with Node v10 or older. Modern code bases should use something like node16 or bundler to support export maps and other ESM features.
Describe the Use Case
I've started to work on #29715 which requires node16 due to the fact that we modernized the React Output Target code base.
Describe Preferred Solution
set "moduleResolution": "bundler" in /core/tsconfig.json
create an export map to export each component in /core/package.json
Describe Alternatives
n/a
Related Code
n/a
Additional Information
n/a
Reacted by Sean Perkins, Exorex, Marvin Heilemann, Patrick McDonald, leon-prototype, Lukas Wiedemann and Gonçalo M.
The moduleResolution update to bundler, applied across all packages as part of a broader TypeScript 6 modernization, is in chore(many): upgrade Typescript #31280.
Once #31280 merges, both parts of this request are complete. This issue will remain open until v9 is released, and will be closed at that point.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
mcrio commentedon Sep 18, 2025
Mode resolution is still
nodeby default. Any negative implications if we update that tobundlerin tsconfig?thetaPC commentedon Aug 4, 2026
Thanks for the feature request!!
This request asks for two changes:
Both are now covered across two PRs, and both target the v9 release:
Once #31280 merges, both parts of this request are complete. This issue will remain open until v9 is released, and will be closed at that point.
chore(many): upgrade Typescript (#31280)
ionitron-bot commentedon Sep 18, 2026
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.