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

运行build的时候时间太久了 #24

Closed
Kirito-H opened this issue Apr 19, 2017 · 1 comment
Closed

运行build的时候时间太久了 #24

Kirito-H opened this issue Apr 19, 2017 · 1 comment

Comments

@Kirito-H
Copy link

qq 20170419115154
build一次的时间达到了184793ms,略吓人啊。
麻烦po主有空帮忙分析下是啥原因?

另外我看之前页面是默认有引入那个vendor.dll.js的,最近更新之后发现被注释掉了,请问是什么原因呢?
@lin-xin

@lin-xin
Copy link
Owner

lin-xin commented Apr 19, 2017

@Kirito-H 嗯,这里面引用太多插件了和整个element,太大了,构建的时候每次都要去压缩这些插件到一起,就很慢。之前引入了这个vendor.dll.js,构建时间确实是提高了。但是之前在一个地方有看到,所引入element的时候有报错,我前两天确实看到了在表格页会在控制台有打印了个错误,但是找不到原因。
提高 webpack 构建 Vue 项目的速度

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