Closed Shyam-Chen closed 1 month ago
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/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.19/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/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.19/node_modules/vue-echarts/dist/index.cjs.min.js:1:97
Let's track this at #627.
Confirmation
Details
Ref: https://github.com/apache/echarts/pull/19513 (
echarts
v5.5)Would you like to follow the updates?