Skip to content

Commit 7fbf48b

Browse files
author
Alejandro
committed
fix(nativeFederation): fixes the missing behaviour of the param outputPath
1 parent 434a94e commit 7fbf48b

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ export async function* runBuilder(
122122
options.baseHref = nfOptions.baseHref;
123123
}
124124

125+
if(nfOptions.outputPath){
126+
options.outputPath = nfOptions.outputPath;
127+
}
128+
125129
const rebuildEvents = new RebuildHubs();
126130

127131
const adapter = createAngularBuildAdapter(options, context, rebuildEvents);

libs/native-federation/src/builders/build/schema.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ export interface NfBuilderSchema extends JsonObject {
1212
skipHtmlTransform: boolean;
1313
esmsInitOptions: ESMSInitOptions;
1414
baseHref?: string;
15+
outputPath?: string;
1516
ssr: boolean;
1617
} // eslint-disable-line

libs/native-federation/src/builders/build/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
"baseHref": {
4747
"type": "string"
4848
},
49+
"outputPath": {
50+
"type": "string"
51+
},
4952
"esmsInitOptions": {
5053
"type": "object",
5154
"description": "Options for esms-module-shims https://github.com/guybedford/es-module-shims?tab=readme-ov-file#init-options",

0 commit comments

Comments
 (0)