-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Very long compilation time with next-js #318
Comments
Try using the latest node v22. I noticed a little speed boost. This is a known issue with wyw-in-js that pigment currently uses. There won't be a significant boost until they switch to react compiler. |
@paulm17 thx for your answer. Unfortunately switching to node22 doesn't help. So, waiting for wyw-in-js to upgrade. |
same here |
same here |
1 similar comment
same here |
same here 😭 |
I know there was talk of using React Compiler to speed things up. Since the wjw-in-js is already being used. Will the team be using? Anber/wyw-in-js#114 |
Yes. That would be the case even if we have to write transforms in Rust. |
Steps to reproduce
npm run dev
localhost:3000
Current behavior
Compilation takes around 7–8 seconds:
Expected behavior
Compilation should take 1–2 seconds
Context
No response
Your environment
Search keywords: compilation, next-js
The text was updated successfully, but these errors were encountered: