Skip to content

Commit

Permalink
fix(@angular/cli): remove -bo alias for --build-optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and hansl committed Aug 3, 2017
1 parent 9d56c85 commit 3aecfa7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/@angular/cli/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ export const baseBuildCommandOptions: any = [
name: 'build-optimizer',
type: Boolean,
default: false,
aliases: ['bo'],
description: '(Experimental) Enables @angular-devkit/build-optimizer '
+ 'optimizations when using `--aot`.'
},
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tests/build/build-optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { expectToFail } from '../../utils/utils';


export default function () {
return ng('build', '--aot', '--bo')
return ng('build', '--aot', '--build-optimizer')
.then(() => expectToFail(() => expectFileToExist('dist/vendor.js')))
.then(() => expectToFail(() => expectFileToMatch('dist/main.js', /\.decorators =/)));
}

0 comments on commit 3aecfa7

Please sign in to comment.