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

feat(@angular/cli): add build-optimizer support #6520

Merged
merged 1 commit into from
Jul 19, 2017

Commits on Jul 19, 2017

  1. feat(@angular/cli): add build-optimizer support

    Adds the new flag `--build-optimizer` (`--bo`), usable only with `--aot` (or `--prod` since it auto enables `--aot`).
    
    This feature is experimental, and may not work correctly on your project. Should it work, total bundle size should go down. Savings are heavily dependent on the project.
    
    See https://github.com/angular/devkit/tree/master/packages/angular_devkit/build_optimizer for details about all the optimizations applied.
    
    Usage: `ng build --prod --build-optimizer`. Disabling the vendor chunk has been shown to improve total savings, and is done automatically when `--bo` is specified unless `--vendor-chunk` has a value.
    
    Please let us know if using `--build-optimizer` breaks your project so we can improve it further. Repos are very welcome.
    filipesilva committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    b2abe70 View commit details
    Browse the repository at this point in the history