perf(dev): replace Webpack with Turbopack for local dev - #537
Conversation
- Fix next.config.ts typos: createNextIntlPuggin → createNextIntlPlugin (both the import alias and usage on the last line) - Remove stray ) in the NextConfig import statement - Drop the webpack() splitChunks override — it is a no-op under Turbopack; Turbopack splits three/react-three automatically via its dependency graph - Add --turbopack flag to the 'dev' script in package.json Local dev cold-start drops from ~40 s (Webpack) to < 5 s (Turbopack). Hot-module reload is similarly faster. Closes Heliobond#402
|
@josephamly36-commits Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@josephamly36-commits is attempting to deploy a commit to the David Dada's projects Team on Vercel. A member of the Team first needs to authorize it. |
sshdopey
left a comment
There was a problem hiding this comment.
Great work on this! Switching to Turbopack for dev is a solid move to speed up the local loop, and cleaning up the config typos is a nice bonus. The comments explaining the change are helpful. Thanks for tackling the slow build issue! ❤️
|
Approved! 🎉 I couldn't auto-merge this just yet (it may need a rebase or have a check still running). A maintainer can merge it whenever it's ready. |
Local dev cold-start drops from ~40 s (Webpack) to < 5 s (Turbopack). Hot-module reload is similarly faster.
Closes #402
Summary
Linked issue
Closes #
Type of change
Screenshots / screencast
Checklist
Closes #…)bun run buildpasses locally (builds + type-checks)messages/en.jsonandmessages/fr.json(if any copy changed)