antvis/G2

data-set 被重复打包 #4893

shen-lan posted onGitHub

image

使用方法:

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

image

只是用一句,没有带来两个 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

Fund this Issue

$0.00
Funded

Pull requests