-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
🐞 Bug report
Command (mark with an x
)
- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
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
Angular CLI: 8.0.1
Node: 10.15.2
OS: linux x64
Angular: 8.0.0
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, material-moment-adapter
... platform-browser, platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.800.1
@angular-devkit/build-angular 0.800.1
@angular-devkit/build-optimizer 0.800.1
@angular-devkit/build-webpack 0.800.1
@angular-devkit/core 8.0.1
@angular-devkit/schematics 8.0.1
@angular/cli 8.0.1
@ngtools/webpack 8.0.1
@schematics/angular 8.0.1
@schematics/update 0.800.1
rxjs 6.5.2
typescript 3.4.5
webpack 4.30.0
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
alialtun14, jocstech, ahnpnl and johannesjo
Metadata
Metadata
Assignees
Labels
No labels