Skip to content

perf(dev): replace Webpack with Turbopack for local dev - #537

Merged
dadadave80 merged 1 commit into
Heliobond:mainfrom
josephamly36-commits:fix/issue-402-turbopack-dev-speed
Aug 31, 2026
Merged

perf(dev): replace Webpack with Turbopack for local dev#537
dadadave80 merged 1 commit into
Heliobond:mainfrom
josephamly36-commits:fix/issue-402-turbopack-dev-speed

Conversation

@josephamly36-commits

Copy link
Copy Markdown
Contributor
  • 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 #402

Summary

Linked issue

Closes #

Type of change

  • Bug fix
  • Feature
  • Localization (i18n)
  • Accessibility
  • Smart contract / on-chain wiring
  • Docs / chore

Screenshots / screencast

Checklist

  • Tied to an accepted issue (Closes #…)
  • bun run build passes locally (builds + type-checks)
  • Follows the design system — token CSS vars, sentence case, mono numerals, deltas carry sign + arrow, no emoji, no hardcoded colours
  • User-facing strings added to both messages/en.json and messages/fr.json (if any copy changed)
  • Accessible — keyboard operable, visible focus, reduced-motion respected
  • No secrets committed
  • Docs updated where relevant

- 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
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@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 sshdopey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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! ❤️

@sshdopey

Copy link
Copy Markdown
Contributor

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.

@dadadave80
dadadave80 merged commit d42b8da into Heliobond:main Aug 31, 2026
2 of 3 checks passed
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.

tooling: Build takes 45s, very slow for development loop

3 participants