Prerequisites
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
Prerequisites
Describe the Feature Request
Currently Ionic framework (
@ionic/core) usesnodeasmoduleResolutionwhich is meant to be used with Node v10 or older. Modern code bases should use something likenode16orbundlerto support export maps and other ESM features.Describe the Use Case
I've started to work on #29715 which requires
node16due to the fact that we modernized the React Output Target code base.Describe Preferred Solution
"moduleResolution": "bundler"in/core/tsconfig.json/core/package.jsonDescribe Alternatives
n/a
Related Code
n/a
Additional Information
n/a