Skip to content

Commit

Permalink
fix(angular): setup-ssr should output correct outpathPath for server …
Browse files Browse the repository at this point in the history
…build (#13243)

(cherry picked from commit e041223)
  • Loading branch information
Coly010 authored and FrozenPandaz committed Nov 18, 2022
1 parent c0ee01f commit 4c2e5aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Object {
"executor": "@angular-devkit/build-angular:server",
"options": Object {
"main": "apps/app1/server.ts",
"outputPath": "dist/apps/apps/app1/server",
"outputPath": "dist/apps/app1/server",
"tsConfig": "apps/app1/tsconfig.server.json",
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function updateProjectConfig(tree: Tree, schema: Schema) {
projectConfig.targets.server = {
executor: '@angular-devkit/build-angular:server',
options: {
outputPath: `dist/apps/${projectConfig.root}/server`,
outputPath: `dist/${projectConfig.root}/server`,
main: joinPathFragments(projectConfig.root, schema.serverFileName),
tsConfig: joinPathFragments(projectConfig.root, 'tsconfig.server.json'),
},
Expand Down

0 comments on commit 4c2e5aa

Please sign in to comment.