vue-echarts icon indicating copy to clipboard operation
vue-echarts copied to clipboard

Default ESM package

Open Shyam-Chen opened this issue 1 year ago • 1 comments

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?

Shyam-Chen avatar Feb 20 '24 05:02 Shyam-Chen

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

Shyam-Chen avatar Feb 20 '24 06:02 Shyam-Chen

Let's track this at #627.

Justineo avatar May 11 '24 02:05 Justineo