-
Notifications
You must be signed in to change notification settings - Fork 12k
Super slow build time while updating to v8.0.0 #14666
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
Comments
Hi @hugo-marello. I have the same problem. But the interesting thing is that only two people (according to stockover veya github issue ) have met this problem so far. |
I have the same slow-compiling issues here when using angular 8 |
Hi @hugo-marello, Thanks for the information provided. However, let's keep this in a single thread being #13734 Thanks |
@alan-agius4, what does this problem have to do with single thread you mentioned? I have the same slow build times with Angular 8, too. Building for production seems like to be doing the job in two steps, first by creating javascript chunks and the second by doing SASS compilation. |
@alan-agius4 can you please reopen this issue? There are a lot of people having this problem. I tried to find a solution, but nothing helps to get the fast building like in Angular 6. With Angular 6 the build --prod time was like 10 seconds and now its 64 seconds. That with this optimizations:
What can we do to get better build times? |
For me installing node-sass helped a lot
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Previous versions were way faster, last compiled with 7.2.0
Description
Tryed to update my large angular application to version 8.0.0, but the build takes forever.🔬 Minimal Reproduction
Create a v6 angular app and follow the instructions on https://update.angular.io to update it to v8.0.0 . Build the application with
node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build --prod --verbose --no-progress > log.txt
🌍 Your Environment
Anything else relevant?
My guess is the angular-devkit/build-angular is the culprit, it was known to have caused slowness in the past. I've run the benchmark inside the webpack script, I've posted the first half hour of execution.
log.zip
The text was updated successfully, but these errors were encountered: