Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions libs/native-federation/src/builders/build/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ export async function* runBuilder(
return;
}

let options = (await context.validateOptions(
targetOptions,
builder
)) as JsonObject & ApplicationBuilderOptions;

/**
* Explicitly defined as devServer or if the target contains "serve"
*/
Expand All @@ -130,6 +125,16 @@ export async function* runBuilder(
? !!nfOptions.devServer
: target.target.includes('serve');

let options = (await context.validateOptions(
runServer
Comment thread
Aukevanoost marked this conversation as resolved.
? {
...targetOptions,
port: nfOptions.port || targetOptions['port'],
}
: targetOptions,
builder
)) as JsonObject & ApplicationBuilderOptions;

let serverOptions = null;

const write = true;
Expand Down
Loading