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

antv整体过大,小程序IDE上传失败 #472

Closed
carlos121493 opened this issue Jan 2, 2019 · 3 comments
Closed

antv整体过大,小程序IDE上传失败 #472

carlos121493 opened this issue Jan 2, 2019 · 3 comments
Assignees
Milestone

Comments

@carlos121493
Copy link

screen shot 2019-01-02 at 6 55 36 pm

npm下载的包里含有dist,bundle。src及lib。目前来看非常大。

小程序构建会在云端下载,上传包限制。希望将src等加入.npmignore

@simaQ
Copy link
Contributor

simaQ commented Jan 7, 2019

目前 @antv/my-f2 包的 main 入口是 build/ 下非压缩的脚本 https://github.com/antvis/my-f2/blob/master/package.json#L6

将这个入口改为 dist/ 下是否可以解决?

@carlos121493
Copy link
Author

既然有build,为什么不加个.npmignore将src隐掉?

@simaQ
Copy link
Contributor

simaQ commented Jan 9, 2019

恩,src 可以隐掉,但是 lib 目前不行,因为 F2 提供了按需引用的功能,这周我会发布个 3.3.5 将 src 隐掉

@simaQ simaQ self-assigned this Jan 9, 2019
@simaQ simaQ added this to the 3.3.5 milestone Jan 9, 2019
@simaQ simaQ closed this as completed in 7e4a761 Feb 11, 2019
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