apache / apache/echarts

[Bug] ESM configuration not compatible with JSPM

Open
#20,693 0 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

`>= 5.5.0-rc1`

### Link to Minimal Reproduction

https://generator.jspm.io/#U2VhYGBkDM0rySzJSU1hSE3OSCwqKXYw1TPVM9AtStYzBACYUzkvIQA

### Steps to Reproduce

1. Generate an import map with https://generator.jspm.io to use echarts

### Current Behavior

It fails: `Error: Module not found https://ga.jspm.io/npm:zrender@5.6.1/lib/animation/Animator.js imported from https://ga.jspm.io/npm:echarts@5.6.0/index.js`

### Expected Behavior

It worked with 5.4.3 (see https://generator.jspm.io/#U2VhYGBkDM0rySzJSU1hSE3OSCwqKXYw1TPRMwYAIcnHyxwA) where it has a nice entry for `zrender/lib` in the import map.

### Environment

```markdown
n/a
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.