Skip to content

feat(nf): forward serve port for native federation lib - #967

Merged
Aukevanoost merged 2 commits into
angular-architects:mainfrom
JGhignatti:feat/#939-nf-forward-serve-port
Oct 21, 2025
Merged

feat(nf): forward serve port for native federation lib#967
Aukevanoost merged 2 commits into
angular-architects:mainfrom
JGhignatti:feat/#939-nf-forward-serve-port

Conversation

@JGhignatti

Copy link
Copy Markdown
Contributor

Forwards port set with ng serve --port 4123 from serve target to serve-original.

If no port is provided, the fallback is the serve-original port, which is set via the @angular-architects/native-federation:init --port schematic.

If no port is set there either, Angular falls back to port 4200.

Closes #939

Comment thread libs/native-federation/src/builders/build/builder.ts
@Aukevanoost
Aukevanoost merged commit e3c1ce9 into angular-architects:main Oct 21, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forward --port from ng serve to serve-original target

2 participants