Echarts provides multiple versions of the library with different scopes :
echarts.js provides all types of charts echarts.common.js includes common charts and components, thus being smaller echarts.simple.js is the smallest version with even fewer charts and components
Currently the echarts-api-plugin includes echarts.common.js. Unfortunately, this does not include treemaps, which I'd like to use in my Jenkins plugin.
It would be good to have the possibility to choose between the different possible versions of echarts. I'd propose to have three files echarts.jelly, echarts-common.jelly and echarts-simple.jelly, so they could be used via the jelly includes statement.
I would open a PR for this, if that is ok with you?