The issue has been closed

使用方法:
import DataSet from '@antv/data-set'

import { DataSet } from '@antv/data-set';
也是一样重复 ,打包后有两个
posted by shen-lan about 2 years ago
仅仅只是 import dataset 这个包,就出现两份吗?
posted by hustcc about 2 years ago
@hustcc
const chart = new DataSet.View().source(res.result)
代码里具体使用了
posted by shen-lan about 2 years ago
@hustcc 可以来一个最小 demo 吗?看了 dataset 代码,不至于打两个包进去,可能的原因是业务代码中用到不同的库。
posted by hustcc about 2 years ago

只是用一句,没有带来两个 data-set。@shen-lan
import DataSet from '@antv/data-set';
posted by hustcc almost 2 years ago
posted by shen-lan almost 2 years ago