vue-echarts
vue-echarts copied to clipboard
Default ESM package
Confirmation
- [X] I can confirm this is a feature request for the Vue component instead of ECharts itself.
Details
Ref: https://github.com/apache/echarts/pull/19513 (echarts
v5.5)
Would you like to follow the updates?
If supported, Vitest could do without this line.
# vitest
resolve: {
- mainFields: ['module'],
},
Instead change the require of core.js in /Users/path/to/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/vue-echarts/dist/index.cjs.min.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/vue-echarts/dist/index.cjs.min.js:1:97
Let's track this at #627.