Migrate development environment to Turbopack#2385
Conversation
🦋 Changeset detectedLatest commit: c753a26 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@vinzee is attempting to deploy a commit to the HyperDX Team on Vercel. A member of the Team first needs to authorize it. |
Deep Review✅ No critical issues found. The diff is a tight, well-documented bundler swap: dev moves to Turbopack, prod stays on Webpack, one SCSS file gets a Turbopack-compatible rewrite, and 🟡 P2 -- recommended
🔵 P3 nitpicks (4)
Reviewers (4): correctness, testing, maintainability, project-standards. Testing gaps:
|
Transition the local development server from Webpack to Turbopack to significantly improve build performance and hot-reloading speed. Also update global style declarations to ensure compatibility with the new bundler's CSS compilation requirements.
771f393 to
c753a26
Compare
| // This must stay external under both Webpack and Turbopack; otherwise the | ||
| // Turbopack dev server would attempt to bundle the entire `@hyperdx/api` | ||
| // dependency tree (slow startup / module-resolution errors). | ||
| ...(process.env.HDX_PREVIEW_INLINE_API !== 'true' ? ['@hyperdx/api'] : []), |

Summary
Transition the local development server from Webpack to Turbopack to significantly improve build performance and hot-reloading speed.
Also update global style declarations to ensure compatibility with the new bundler's CSS compilation requirements.
Screenshots or video
N/A — non-UI change
How to test on Vercel preview
N/A — non-UI change
References