File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
packages/@angular/cli/commands Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ export const baseBuildCommandOptions: any = [
163
163
name : 'build-optimizer' ,
164
164
type : Boolean ,
165
165
default : false ,
166
- aliases : [ 'bo' ] ,
167
166
description : '(Experimental) Enables @angular-devkit/build-optimizer '
168
167
+ 'optimizations when using `--aot`.'
169
168
} ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { expectToFail } from '../../utils/utils';
4
4
5
5
6
6
export default function ( ) {
7
- return ng ( 'build' , '--aot' , '--bo ' )
7
+ return ng ( 'build' , '--aot' , '--build-optimizer ' )
8
8
. then ( ( ) => expectToFail ( ( ) => expectFileToExist ( 'dist/vendor.js' ) ) )
9
9
. then ( ( ) => expectToFail ( ( ) => expectFileToMatch ( 'dist/main.js' , / \. d e c o r a t o r s = / ) ) ) ;
10
10
}
You can’t perform that action at this time.
0 commit comments