Closed mengxiong10 closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
这个问题还没解决吗 两年了
同样的问题,一旦引入主题,按需引入的工作就全白干了。还是会全部打包。
webpack主题无法按需引入
[版本及环境]
代码
说明
由于theme文件夹下面主题文件require('echarts') 导致按需引入没用, 建议改成'echarts/lib/echarts', 下图: