Skip to content

Commit 9b670a8

Browse files
committed
Step 3 - Enable partialSSRBuild to fix build; manually specify paths for @angular/ssr/node to resolve external dependency issue.
1 parent 266c829 commit 9b670a8

File tree

1 file changed

+2
-0
lines changed
  • libs/nx-angular-mf/src/builders/build

1 file changed

+2
-0
lines changed

libs/nx-angular-mf/src/builders/build/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export async function* runBuilder(
4646
serverSSRPlugin(optionsMfe.deployUrl),
4747
moveCustomLoaderPlugin(),
4848
];
49+
// @ts-ignore
50+
defaultOptions.partialSSRBuild = true;
4951

5052
const extensions = {
5153
codePlugins: resultEsBuild,

0 commit comments

Comments
 (0)