You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm this is a feature request for the Vue component instead of ECharts itself.
Details
Looks like the space and standards are moving towards ESM, it'd be cool if this library embraced that by switching to a package.json config that included these lines:
Meh, this is a bad suggestion as it would only support ESM. I'll come back with a PR to change the build to explicitly name esm modules .mjs and cjs files .cjs.
There is actually an issue in Vitest concerning this: vitest-dev/vitest#1452 (basically, Vitest doesn't respect module field, because it's not part of Node resolution scheme, so it imports cjs entry - and even if it did, it would still fail, because Node considers your ESM entry a cjs file, more on that later).
Meh, this is a bad suggestion as it would only support ESM. I'll come back with a PR to change the build to explicitly name esm modules .mjs and cjs files .cjs.
Confirmation
Details
Looks like the space and standards are moving towards ESM, it'd be cool if this library embraced that by switching to a package.json config that included these lines:
As it stands I'm running into issues using this library as a native module.
Additional context about this issue:
The text was updated successfully, but these errors were encountered: