Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 64e5f7b

Browse files
bampakoaalan-agius4
authored andcommitted
fix(@nguniversal/express-engine): add serverTarget for prerender
Add `serverTarget` for the prerender architect in the install schematic Closes #2120 (cherry picked from commit ccc0fc1)
1 parent 53dbafd commit 64e5f7b

File tree

1 file changed

+2
-0
lines changed
  • modules/express-engine/schematics/install

1 file changed

+2
-0
lines changed

modules/express-engine/schematics/install/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ function updateWorkspaceConfigRule(options: AddUniversalOptions): Rule {
118118
configurations: {
119119
production: {
120120
browserTarget: `${options.project}:build:production`,
121+
serverTarget: `${projectName}:server:production`,
121122
},
122123
development: {
123124
browserTarget: `${options.project}:build:development`,
125+
serverTarget: `${projectName}:server:development`,
124126
},
125127
},
126128
});

0 commit comments

Comments
 (0)