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

加速 uglify 压缩 #206

Closed
soda-x opened this issue Sep 8, 2016 · 0 comments
Closed

加速 uglify 压缩 #206

soda-x opened this issue Sep 8, 2016 · 0 comments

Comments

@soda-x
Copy link

soda-x commented Sep 8, 2016

目前有两个方式可以实现

webpack-uglify-parallel

webpack-parallel-uglify-plugin

这两个方式都是通过多核来并发压缩,提升都是非常明显的

前者完全基于 webpack@1 中 UglifyPlugin 而 后者则作者的个人发挥更多些

但是前者没有用例的保障,后者有.

更加倾向于前者,但是必须基于 webpack@2 中 UglifyPlugin
必要时考虑自己造个轮子。

关于这一块的性能提升详见个人博文 soda-x/blog#1

@soda-x soda-x added this to the 1.0.0 milestone Sep 8, 2016
@soda-x soda-x closed this as completed Apr 27, 2017
@soda-x soda-x removed this from the 1.0.0 milestone May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant