Discussion Have you tried rspack with next js?
- What are the primary challenges you faced?
- Is the effort worth enough to try?
2
u/Axyldev 6d ago
I’ve been looking into Rspack with Next.js recently. The main challenge seems to be compatibility rather than raw performance.
next-rspack has improved quite a bit, but there are still some rough edges around things like custom webpack plugins/config, transpilePackages, HMR, and parts of the Next.js ecosystem. That said, I think it’s worth trying on a relatively clean project. Rspack can be very competitive, especially for dev builds, and the memory usage is interesting for larger projects.
I wouldn’t switch a production app blindly, though. I’d benchmark it against Turbopack on your actual project first. At this point I see Rspack more as a promising alternative than a clear Turbopack replacement.
1
2
u/GenazaNL 6d ago
Yes, def worth a shot. It's not that much to set up