We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e486d17 commit 5e30b04Copy full SHA for 5e30b04
packages/@angular/cli/commands/build.ts
@@ -163,7 +163,7 @@ export const baseBuildCommandOptions: any = [
163
name: 'build-optimizer',
164
type: Boolean,
165
default: false,
166
- aliases: ['bo'],
+ aliases: ['o'],
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', '--o')
8
.then(() => expectToFail(() => expectFileToExist('dist/vendor.js')))
9
.then(() => expectToFail(() => expectFileToMatch('dist/main.js', /\.decorators =/)));
10
}
0 commit comments