Skip to content

feat: Support Angular esbuild-builder to build Ionic production app #28500

Closed as not planned

Description

@shessafridi

Prerequisites

Describe the Feature Request

Ionic doesn't support the esbuild based Angular builder which is the default now for Angular 17 apps. When using the new builder the application doesn't run and throws a bunch of files now found errors.

Describe the Use Case

We are forced to use the old builder with long build times and slow refreshes when using Ionic.

Describe Preferred Solution

Ionic should support the new esbuild based builder as it is the default for Angular now

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Activity

  1. hakimio commented on Nov 9, 2023

    @hakimio

    It does support esbuild if you use the new standalone Ionic components.

    EDIT: Here is a esbuild demo project.

  2. self-assigned this
    on Nov 9, 2023
  3. liamdebeasi commented on Nov 9, 2023

    @liamdebeasi
    Contributor

    Hey there,

    @hakimio is correct. We support ESBuild when using Ionic standalone components. Ionic components using the IonicModule approach will not work with ESBuild because they cannot be statically analyzed.

  4. ionitron-bot commented on Dec 9, 2023

    @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.

  5. locked and limited conversation to collaborators on Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions