File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/schematics/angular/app-shell Expand file tree Collapse file tree 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 {
196196 serverTarget : `${ options . clientProject } :server` ,
197197 route : options . route ,
198198 } ,
199+ configurations : {
200+ production : {
201+ browserTarget : `${ options . clientProject } :build:production` ,
202+ } ,
203+ } ,
199204 } ;
200205
201206 if ( ! workspace . projects [ options . clientProject ] ) {
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ describe('App Shell Schematic', () => {
6868 expect ( target . options . browserTarget ) . toEqual ( 'bar:build' ) ;
6969 expect ( target . options . serverTarget ) . toEqual ( 'bar:server' ) ;
7070 expect ( target . options . route ) . toEqual ( 'shell' ) ;
71+ expect ( target . configurations . production . browserTarget ) . toEqual ( 'bar:build:production' ) ;
7172 } ) ;
7273
7374 it ( 'should add router module to client app module' , ( ) => {
You can’t perform that action at this time.
0 commit comments