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

fix: set target to es6 for umd #5559

Merged
merged 1 commit into from
Sep 18, 2023
Merged

fix: set target to es6 for umd #5559

merged 1 commit into from
Sep 18, 2023

Conversation

pearmini
Copy link
Member

打包问题

修复 #5515 带来的问题:

问题

出现原因是通过 tsc 打包 es5 的时候会存在一些问题。

解决办法

  • 暂时先提供 es6 的版本
  • 增加 npm run preview 配置去预览 umd 绘制的图表,每次发包之前预览一下,防止打包环节引入的 bug。

@pearmini pearmini requested a review from hustcc September 18, 2023 05:48
@pearmini pearmini merged commit 5afd45a into v5 Sep 18, 2023
2 checks passed
@pearmini pearmini deleted the target/es6 branch September 18, 2023 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants