Skip to content

Commit 3aecfa7

Browse files
filipesilvahansl
authored andcommitted
fix(@angular/cli): remove -bo alias for --build-optimizer
/cc @StephenFluin
1 parent 9d56c85 commit 3aecfa7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/@angular/cli/commands/build.ts

-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ export const baseBuildCommandOptions: any = [
163163
name: 'build-optimizer',
164164
type: Boolean,
165165
default: false,
166-
aliases: ['bo'],
167166
description: '(Experimental) Enables @angular-devkit/build-optimizer '
168167
+ 'optimizations when using `--aot`.'
169168
},

tests/e2e/tests/build/build-optimizer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { expectToFail } from '../../utils/utils';
44

55

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

0 commit comments

Comments
 (0)