Skip to content

Using open-props fails when switching to the experimental esBuild #24064

@SanderElias

Description

@SanderElias

Description

When I have an app that uses open-props it fails to build when I switch to the esBuild builder.

I create a small reproduction repo

Minimal Reproduction

pull this small reproduction repo and run ng build
it will fail like this:

While `ng serve works and build with the webpack builder also works. (and both do pull in the asked-for CSS!)

Exception or Error

image

Your Environment

Angular CLI: 15.0.0-next.4
Node: 18.4.0 (Unsupported)
Package Manager: npm 8.18.0 
OS: linux x64

Angular: 15.0.0-next.5
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1500.0-next.4
@angular-devkit/build-angular   15.0.0-next.4
@angular-devkit/core            15.0.0-next.4
@angular-devkit/schematics      15.0.0-next.4
@angular/cli                    15.0.0-next.4
@schematics/angular             15.0.0-next.4
rxjs                            7.5.7
typescript                      4.7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions