Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-set 被重复打包 #4893

Closed
shen-lan opened this issue Apr 18, 2023 · 6 comments
Closed

data-set 被重复打包 #4893

shen-lan opened this issue Apr 18, 2023 · 6 comments
Assignees

Comments

@shen-lan
Copy link

image

使用方法:

import DataSet from '@antv/data-set'
@shen-lan
Copy link
Author

import { DataSet } from '@antv/data-set'; 

也是一样重复 ,打包后有两个

@hustcc
Copy link
Member

hustcc commented Apr 18, 2023

仅仅只是 import dataset 这个包,就出现两份吗?

@shen-lan
Copy link
Author

@hustcc

const chart = new DataSet.View().source(res.result)

代码里具体使用了

@hustcc
Copy link
Member

hustcc commented Apr 23, 2023

@hustcc 可以来一个最小 demo 吗?看了 dataset 代码,不至于打两个包进去,可能的原因是业务代码中用到不同的库。

@hustcc hustcc self-assigned this Apr 23, 2023
@hustcc
Copy link
Member

hustcc commented Apr 24, 2023

image

只是用一句,没有带来两个 data-set。@shen-lan

import DataSet from '@antv/data-set';

@shen-lan
Copy link
Author

好吧……真的见鬼了 有空我再试试。麻烦你了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants