x)- [x] bug report -> please search issues before submitting
- [ ] feature request
macOS Sierra 10.12.6
When use ng build with --prod and --build-optimizer flag, it can not separate vendor chunk from the main chunk, it must use --vendor-chunk explicitly. But this build bigger chunk.


Disabling the vendor chunk is intentional as it allows further optimization. The example above demonstrates the benefit (~200KB saved).
@clydin Thank you! Please update the doc as soon as possible to explain this.
While we are at it. Wiki on build switch shows -bo is a valid alias, when as of 1.3.2 the only valid alias is --buildOptimizer.
Closing this issue...
@frostbtn FYI, that issue has been addressed in master and will be updated in the next release of the docs to the wiki.
It has been added to the wiki here https://github.com/angular/angular-cli/wiki/build#options
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Disabling the vendor chunk is intentional as it allows further optimization. The example above demonstrates the benefit (~200KB saved).