Skip to content

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

Description

@christian-bromann

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

Activity

  1. added
    type: feature request
    package: core
    on Jul 16, 2024
  2. mcrio commented on Sep 18, 2025

    @mcrio

    Mode resolution is still node by default. Any negative implications if we update that to bundler in tsconfig?

  3. thetaPC commented on Aug 4, 2026

    @thetaPC
    Contributor

    Thanks for the feature request!!

    This request asks for two changes:

    1. Switch moduleResolution from node to bundler.
    2. Add a package exports map so modern resolvers can import individual components.

    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.

  4. added a commit that references this issue on Aug 4, 2026
    a1706a3
  5. ionitron-bot commented on Sep 18, 2026

    @ionitron-bot

    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.

  6. locked and limited conversation to collaborators on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: coretype: feature request

    Fields

    Stage

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions