File tree 2 files changed +4
-4
lines changed
packages/schematics/angular/migrations/update-6
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -536,8 +536,8 @@ function extractProjectsConfig(
536
536
if ( serverApp ) {
537
537
const serverOptions : JsonObject = {
538
538
outputPath : serverApp . outDir || defaults . serverOutDir ,
539
- main : serverApp . main || defaults . serverMain ,
540
- tsConfig : serverApp . tsconfig || defaults . serverTsConfig ,
539
+ main : ` ${ appRoot } / ${ serverApp . main || defaults . serverMain } ` ,
540
+ tsConfig : ` ${ appRoot } / ${ serverApp . tsconfig || defaults . serverTsConfig } ` ,
541
541
} ;
542
542
const serverTarget : JsonObject = {
543
543
builder : '@angular-devkit/build-angular:server' ,
Original file line number Diff line number Diff line change @@ -992,8 +992,8 @@ describe('Migration to v6', () => {
992
992
expect ( target ) . toBeDefined ( ) ;
993
993
expect ( target . builder ) . toEqual ( '@angular-devkit/build-angular:server' ) ;
994
994
expect ( target . options . outputPath ) . toEqual ( 'dist/server' ) ;
995
- expect ( target . options . main ) . toEqual ( 'main.server.ts' ) ;
996
- expect ( target . options . tsConfig ) . toEqual ( 'tsconfig.server.json' ) ;
995
+ expect ( target . options . main ) . toEqual ( 'src/ main.server.ts' ) ;
996
+ expect ( target . options . tsConfig ) . toEqual ( 'src/ tsconfig.server.json' ) ;
997
997
} ) ;
998
998
} ) ;
999
999
} ) ;
You can’t perform that action at this time.
0 commit comments