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)
  • Loading branch information
Coly010 committed Nov 18, 2022
1 parent ab6f62a commit e041223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
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 e041223

Please sign in to comment.