-
Notifications
You must be signed in to change notification settings - Fork 2.5k
fix(module-federation): Add migration for ssr server file to run on it's own port #27411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 087da7a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 4 targets
Sent with 💌 from NxCloud. |
packages/react/src/migrations/update-19-6-0/update-ssr-server-port.ts
Outdated
Show resolved
Hide resolved
packages/react/src/migrations/update-19-6-0/update-ssr-server-port.ts
Outdated
Show resolved
Hide resolved
packages/react/src/migrations/update-19-6-0/update-ssr-server-port.spec.ts
Outdated
Show resolved
Hide resolved
packages/react/src/migrations/update-19-6-0/update-ssr-server-port.spec.ts
Outdated
Show resolved
Hide resolved
41e94ac
to
a928915
Compare
a928915
to
f65f3d2
Compare
b08f9a3
to
2ffd5fb
Compare
2ffd5fb
to
087da7a
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Currently, if you have a SSR Mfe project and you run multiple ssr projects using the 'serve' target it would fail due to conflicting ports unless explicitly set
PORT=4202 node dist/acme/server.js
.Expected Behavior
Now the default is to have the server take the same port as it was generated with so that if you run multiple server apps that depends on other apps in dev mode there will be no conflicts.
Related Issue(s)
Fixes #