We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d56c85 commit 3aecfa7Copy full SHA for 3aecfa7
packages/@angular/cli/commands/build.ts
@@ -163,7 +163,6 @@ export const baseBuildCommandOptions: any = [
163
name: 'build-optimizer',
164
type: Boolean,
165
default: false,
166
- aliases: ['bo'],
167
description: '(Experimental) Enables @angular-devkit/build-optimizer '
168
+ 'optimizations when using `--aot`.'
169
},
tests/e2e/tests/build/build-optimizer.ts
@@ -4,7 +4,7 @@ import { expectToFail } from '../../utils/utils';
4
5
6
export default function () {
7
- return ng('build', '--aot', '--bo')
+ return ng('build', '--aot', '--build-optimizer')
8
.then(() => expectToFail(() => expectFileToExist('dist/vendor.js')))
9
.then(() => expectToFail(() => expectFileToMatch('dist/main.js', /\.decorators =/)));
10
}
0 commit comments