fix: fix umd build and bundle vue-demi

This commit is contained in:
Justineo
2021-03-01 01:28:58 +08:00
parent c400baf8d8
commit dc02845ce0
6 changed files with 31 additions and 14 deletions

View File

@ -1,5 +0,0 @@
import "echarts";
import ECharts from "./index";
export default ECharts;
export * from "./index";

7
src/global.ts Normal file
View File

@ -0,0 +1,7 @@
import "echarts";
import ECharts, * as exported from "./index";
export default {
...ECharts,
...exported
};