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

Support ESM like ECharts v5.5 #182

Open
kingyue737 opened this issue Jun 20, 2024 · 2 comments
Open

Support ESM like ECharts v5.5 #182

kingyue737 opened this issue Jun 20, 2024 · 2 comments

Comments

@kingyue737
Copy link

Currently, this repo is not maintained.

I also encountered #181 in nuxt, because of the missing of js extension when import module from echarts.
Many users cannot use this plugin (#141) which may be due to a dual package hazard (register liquidFill in umd while echarts is esm).

I believe both can be easily solved by migrate to a modern library bundler like unbuild or tsup.

ECharts 5.5 has already changed to default esm package apache/echarts#19513. I think it makes sense to also follow this change in this repo

Is PR welcomed? I would like to solve this issue.

@szhang6
Copy link

szhang6 commented Jun 20, 2024

Does this support echarts's version which is "echarts": "^5.5.0" ? It seems does not support for now, right ?

@kingyue737
Copy link
Author

Does this support echarts's version which is "echarts": "^5.5.0" ? It seems does not support for now, right ?

It can be used with v5.5 but may not be out-of-box in some cases. It depends on your environment.

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