Skip to content

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

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

Closed
3 tasks done
shessafridi opened this issue Nov 9, 2023 · 3 comments
Closed
3 tasks done
Assignees
Labels

Comments

@shessafridi
Copy link

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

@ionitron-bot ionitron-bot bot added the triage label Nov 9, 2023
@hakimio
Copy link

hakimio commented Nov 9, 2023

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

EDIT: Here is a esbuild demo project.

@liamdebeasi liamdebeasi self-assigned this Nov 9, 2023
@liamdebeasi
Copy link
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.

@liamdebeasi liamdebeasi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2023
Copy link

ionitron-bot bot commented Dec 9, 2023

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants