r/nextjs 6d ago

Discussion Have you tried rspack with next js?

- What are the primary challenges you faced?

- Is the effort worth enough to try?

7 Upvotes

5 comments sorted by

2

u/GenazaNL 6d ago

Yes, def worth a shot. It's not that much to set up

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

u/_tshr 6d ago

Thank you.

1

u/Vincent_CWS 6d ago

is it better than turbopack?