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

3.8.4以后的版本,打包后main.js比以前大了500kb #12155

Closed
1 task
javaLuo opened this issue Sep 10, 2018 · 1 comment
Closed
1 task

3.8.4以后的版本,打包后main.js比以前大了500kb #12155

javaLuo opened this issue Sep 10, 2018 · 1 comment
Assignees

Comments

@javaLuo
Copy link

javaLuo commented Sep 10, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.9.2

Environment

webpack4,babel7,所有其他包均为最新版本(2018-9-10)

Reproduction link

https://github.com/javaLuo/react-luo

Steps to reproduce

重现链接中的那个项目,yarn install(此时antd版本是3.9.2), yarn build,查看build/dist/main.js的大小。
再把package.json中的antd改成3.8.2,重新install,build后查看build/dist/main.js的大小
前者比后者大了500kb...这是正常的吗 ?

What is expected?

3.9.2,打包后main.js应该也只有300~400KB左右

What is actually happening?

3.9.2打包后main.js有800多KB

@yesmeck
Copy link
Member

yesmeck commented Sep 10, 2018

#12011

@yesmeck yesmeck closed this as completed Sep 10, 2018
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