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

npm run build极其慢 #14

Closed
aslinwang opened this issue Mar 30, 2017 · 2 comments
Closed

npm run build极其慢 #14

aslinwang opened this issue Mar 30, 2017 · 2 comments

Comments

@aslinwang
Copy link

image

请问下如何解决?

@aslinwang aslinwang changed the title npm run build及其慢 npm run build极其慢 Mar 30, 2017
@lin-xin
Copy link
Owner

lin-xin commented Mar 31, 2017

@aslinwang webpack会因为项目大小影响构建速度。网上的解决方案是 把不常变动的js独立构建出来,可以看 https://zhuanlan.zhihu.com/p/21748318 这篇文章。我自己也在尝试。

@lin-xin
Copy link
Owner

lin-xin commented Apr 1, 2017

@aslinwang 新的配置已经更新,构建速度以提高,具体解决方案可见:lin-xin/blog#10

@lin-xin lin-xin closed this as completed Apr 1, 2017
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