Skip to content

esbuild-builder: missing files when building basic Ionic app #24990

@hakimio

Description

@hakimio

Command

build

Description

Ionic starter application (template "side-menu") built with esbuild builder seems to be missing files.

The demo app attached to this post.

ionic-test.zip

image

Minimal Reproduction

  • Create a basic Ionic Angular application using Ionic cli wizard
  • Build the application using @angular-devkit/build-angular:browser-esbuild
  • Try to run the newly built app on your local http server

Result: the app doesn't start because of missing ion-app_8.entry.js file.

Exception or Error

Failed to fetch dynamically loaded module: ion-app_8.entry.js

Your Environment

Angular CLI: 15.2.5
Node: 18.15.0
Package Manager: yarn 1.22.19
OS: win32 x64

Angular: 15.2.6
... common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.5
@angular-devkit/build-angular   15.2.5
@angular-devkit/core            15.2.5
@angular-devkit/schematics      15.2.5
@angular/cli                    15.2.5
@schematics/angular             15.2.5
rxjs                            7.5.7
typescript                      4.8.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: investigationRequires some digging to determine if action is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions