Skip to content

[Bug]: Compile Angular 19 project with esbuild #169

@lsrael-BGx

Description

@lsrael-BGx

Braze Web SDK Version

5.8.0

Integration Method

NPM

Browser

Chrome

Steps To Reproduce

Setup:

  • Angular 19 project
  • Install @braze/web-sdk with npm package
  • run project

Expected Behavior

In Angular 19, webpack was replaced with esbuild. When I try to compile with this configuration

Actual Incorrect Behavior

I get the error:

Uncaught TypeError: Class extends value undefined is not a constructor or null at html-message.js:2:42

Verbose Logs

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions