Skip to content

Commit

Permalink
fix(@nguniversal/express-engine): add serverTarget for prerender
Browse files Browse the repository at this point in the history
Add `serverTarget` for the prerender architect in the install schematic

Closes #2120
  • Loading branch information
bampakoa authored and alan-agius4 committed May 23, 2021
1 parent 29bab0b commit ccc0fc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/express-engine/schematics/install/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@ function updateWorkspaceConfigRule(options: AddUniversalOptions): Rule {
configurations: {
production: {
browserTarget: `${options.project}:build:production`,
serverTarget: `${projectName}:server:production`,
},
development: {
browserTarget: `${options.project}:build:development`,
serverTarget: `${projectName}:server:development`,
},
},
});
Expand Down

0 comments on commit ccc0fc1

Please sign in to comment.