-
Notifications
You must be signed in to change notification settings - Fork 7
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
Very long build times #3
Labels
Comments
The number of passes in the default is set to 2: https://github.com/ssrwpo/uglifyjs2/blob/master/src/uglifyjs2/plugin.js#L40 You could check if with a single pass, you achieve the same minification, hence, that would at least divide the length by 2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In one of my projects, which is medium sized in my judgement, a production build with default settings takes at least 15 minutes (It took between 1 and 2 minutes with the standard-minifier-js). The build process seems to be stuck at
Minifying app code...
as I can only forcefully kill the process in this state, but after waiting for a long time it eventually finishes.Anybody else experiencing such long build times? Any ideas what could be the cause of such a lengthy build process and how to improve it?
The text was updated successfully, but these errors were encountered: