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 {
194194 configurations : {
195195 production : {
196196 browserTarget : `${ options . clientProject } :build:production` ,
197+ serverTarget : `${ options . clientProject } :server:production` ,
197198 } ,
198199 } ,
199200 } ;
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ describe('App Shell Schematic', () => {
6969 expect ( target . options . serverTarget ) . toEqual ( 'bar:server' ) ;
7070 expect ( target . options . route ) . toEqual ( 'shell' ) ;
7171 expect ( target . configurations . production . browserTarget ) . toEqual ( 'bar:build:production' ) ;
72+ expect ( target . configurations . production . serverTarget ) . toEqual ( 'bar:server:production' ) ;
7273 } ) ;
7374
7475 it ( 'should add router module to client app module' , ( ) => {
You can’t perform that action at this time.
0 commit comments