[Feature] 可以从echarts.min.js里面按需引入吗
Open
new-feature
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
react项目使用echarts按需引入,打包时排除了echarts依赖,在产物中有require("echarts/core")的类似。在使用项目时,提供echarts.min.js作为echarts环境,显示无法找到core.js等报错。
In a React project using ECharts with on-demand imports, the ECharts dependency was excluded during the build process. However, the output still contains statements like require("echarts/core"). When using the project, providing echarts.min.js as the ECharts environment results in errors indicating that core.js cannot be found.
### What does the proposed API look like?
11
Contributor guide
Assessment
This issue has not been assessed yet.