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