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 dev 编译后,app.js 过大 #2207

Closed
handalin opened this issue Jun 9, 2019 · 2 comments
Closed

npm run dev 编译后,app.js 过大 #2207

handalin opened this issue Jun 9, 2019 · 2 comments

Comments

@handalin
Copy link

handalin commented Jun 9, 2019

用的是 i18n 分支,npm run dev 之后,app.js 竟然达到了 16.1M 大小,这个有办法优化么?求

@luwzchn
Copy link

luwzchn commented Aug 13, 2019

我现在 dev 之后已经39.42MB 还在堆功能预计还有堆20MB...每次改了调试都要等10秒。
用的 cheap-module-eval-source-map 模式,
如果用 cheap-source-map 会好些缩减到18MB,但是vue文件不能调试源码了,也痛苦。

@PanJiaChen
Copy link
Owner

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

3 participants