Skip to content
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

fix(nextjs): Should be able to run custom server targets with swc #27526

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

ndcunningham
Copy link
Contributor

@ndcunningham ndcunningham commented Aug 19, 2024

Currently

When we installed swc from the Next.js generator it installed an older version that expected version of swc this caused the node & build generator to not work.

Expected

With these changes the version will be in sync with what the @nx/js:swc executor is expecting. With that in mind the build should now work as expected and by extension the serve target for custom server as well.

fixes: #27222

@ndcunningham ndcunningham self-assigned this Aug 19, 2024
Copy link

vercel bot commented Aug 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Aug 20, 2024 5:36pm

@ndcunningham ndcunningham force-pushed the fix/next-custom-server-swc branch 2 times, most recently from 5dcae20 to a765474 Compare August 20, 2024 17:23
@ndcunningham ndcunningham marked this pull request as ready for review August 20, 2024 17:23
@ndcunningham ndcunningham requested a review from a team as a code owner August 20, 2024 17:23
@ndcunningham ndcunningham changed the title feat(nextjs): Should be able to server custom server with swc feat(nextjs): Should be able to run custom server targets with swc Aug 20, 2024
@ndcunningham ndcunningham changed the title feat(nextjs): Should be able to run custom server targets with swc fix(nextjs): Should be able to run custom server targets with swc Aug 20, 2024
@ndcunningham ndcunningham enabled auto-merge (squash) August 20, 2024 17:43
@ndcunningham ndcunningham merged commit 554e979 into master Aug 20, 2024
6 checks passed
@ndcunningham ndcunningham deleted the fix/next-custom-server-swc branch August 20, 2024 17:53
FrozenPandaz pushed a commit that referenced this pull request Aug 21, 2024
…7526)

## Currently
When we installed swc from the Next.js generator it installed an older
version that expected version of swc this caused the node & build
generator to not work.

## Expected
With these changes the version will be in sync with what the
`@nx/js:swc` executor is expecting. With that in mind the build should
now work as expected and by extension the serve target for custom server
as well.

fixes: #27222
(cherry picked from commit 554e979)
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to start custom server In the next js
2 participants