Skip to content
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

feat: update moduleResolution from node to node16 or bundler #29716

Open
3 tasks done
christian-bromann opened this issue Jul 16, 2024 · 0 comments · May be fixed by #29717
Open
3 tasks done

feat: update moduleResolution from node to node16 or bundler #29716

christian-bromann opened this issue Jul 16, 2024 · 0 comments · May be fixed by #29717
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement

Comments

@christian-bromann
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants