Skip to content
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

Angular17.x版本使用browser-esbuild构建出现You can mark the path "zrender/lib/core/matrix" as external to exclude it from the bundle #515

Open
Wanghongrong opened this issue Feb 21, 2024 · 1 comment

Comments

@Wanghongrong
Copy link

开发环境:
Angular: 17.2.0,
Node: 20.11.0,
npm: 10.2.4,
echarts: 5.4.3,
echarts-gl: 2.0.9,
......
在构建脚本中,将angular的默认构建由"builder": "@angular-devkit/build-angular:browser", 更改为"builder": "@angular-devkit/build-angular:browser-esbuild";
1
在执行ng build时出现如下问题:
image
这该如何解决?

@hzyniecki
Copy link

hzyniecki commented May 14, 2024

Downgrading to echarts to 5.4.3 seemed to fix my issue with the building. It appears that echarts 5.5.0 introduced this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants