Skip to content

Commit f99acc6

Browse files
committed
feat(nf): forward serve port for native federation lib
Closes #939
1 parent abab69a commit f99acc6

File tree

1 file changed

+4
-1
lines changed
  • libs/native-federation/src/builders/build

1 file changed

+4
-1
lines changed

libs/native-federation/src/builders/build/builder.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ export async function* runBuilder(
118118
}
119119

120120
let options = (await context.validateOptions(
121-
targetOptions,
121+
{
122+
...targetOptions,
123+
port: nfOptions.port || targetOptions['port'],
124+
},
122125
builder
123126
)) as JsonObject & ApplicationBuilderOptions;
124127

0 commit comments

Comments
 (0)