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

请问JS优化压缩怎么操作?或有什么方法吗? #58

Closed
dehyang opened this issue Sep 18, 2021 · 3 comments
Closed

请问JS优化压缩怎么操作?或有什么方法吗? #58

dehyang opened this issue Sep 18, 2021 · 3 comments

Comments

@dehyang
Copy link

dehyang commented Sep 18, 2021

感谢老哥,项目是开发得差不多了。

但是2个JS文件有1M多,对于首次加载比较慢。

就是那个 vendors.js 与 app.js

有没有办法解决下?

@lzxb
Copy link
Contributor

lzxb commented Sep 18, 2021

new Build({ analyzer: true })

分析一下你的依赖

@dehyang
Copy link
Author

dehyang commented Sep 18, 2021

new Build({ analyzer: true })

分析一下你的依赖

这个怎么用啊?不懂~~~~!

@lzxb
Copy link
Contributor

lzxb commented Sep 18, 2021

@lzxb lzxb closed this as completed Sep 23, 2021
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