File tree 2 files changed +6
-0
lines changed
packages/schematics/angular/app-shell
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,11 @@ function addAppShellConfigToWorkspace(options: AppShellOptions): Rule {
196
196
serverTarget : `${ options . clientProject } :server` ,
197
197
route : options . route ,
198
198
} ,
199
+ configurations : {
200
+ production : {
201
+ browserTarget : `${ options . clientProject } :build:production` ,
202
+ } ,
203
+ } ,
199
204
} ;
200
205
201
206
if ( ! workspace . projects [ options . clientProject ] ) {
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ describe('App Shell Schematic', () => {
68
68
expect ( target . options . browserTarget ) . toEqual ( 'bar:build' ) ;
69
69
expect ( target . options . serverTarget ) . toEqual ( 'bar:server' ) ;
70
70
expect ( target . options . route ) . toEqual ( 'shell' ) ;
71
+ expect ( target . configurations . production . browserTarget ) . toEqual ( 'bar:build:production' ) ;
71
72
} ) ;
72
73
73
74
it ( 'should add router module to client app module' , ( ) => {
You can’t perform that action at this time.
0 commit comments