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(core): register swc transpiler once per compilerOptions #26807

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Jul 3, 2024

Apply the same patch for @swc-node/register that we did for ts-node. This prevent errors during graph construction.

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #26798

@jaysoo jaysoo requested a review from a team as a code owner July 3, 2024 12:50
@jaysoo jaysoo requested a review from AgentEnder July 3, 2024 12:50
Copy link

vercel bot commented Jul 3, 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 Jul 3, 2024 5:48pm

@jaysoo jaysoo force-pushed the fix/swc-register branch 3 times, most recently from a91fdeb to 1c01082 Compare July 3, 2024 17:10
@jaysoo jaysoo force-pushed the fix/swc-register branch 2 times, most recently from d7147d6 to 29912f0 Compare July 3, 2024 17:31
@FrozenPandaz FrozenPandaz merged commit 8cf96cc into master Jul 3, 2024
6 checks passed
@FrozenPandaz FrozenPandaz deleted the fix/swc-register branch July 3, 2024 18:55
FrozenPandaz pushed a commit that referenced this pull request Jul 5, 2024
Apply the same patch for `@swc-node/register` that we did for `ts-node`.
This prevent errors during graph construction.

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #26798

(cherry picked from commit 8cf96cc)
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.

NX unable to rebuild project graph with more than ~ 250 libraries in the repo.
2 participants