next.js
3e65babd - perf: Use synchronous IO when cleaning `distDir` in `next dev` and `next build` (#84472)

Commit
206 days ago
perf: Use synchronous IO when cleaning `distDir` in `next dev` and `next build` (#84472) This is blocking the critical path for starting `next build` (on both webpack and Turbopack) and `next dev` (only on webpack). ## Testing Run ``` pnpm next build --turbopack --experimental-build-mode compile ``` a couple of times in `~/front/apps/conf-2025` (small-medium size app). ### Before ![Screenshot 2025-10-02 at 3.09.31 PM.png](https://app.graphite.dev/user-attachments/assets/ad56ebc1-a9dd-4b18-ba51-50435c9e6584.png) ### After ![Screenshot 2025-10-02 at 3.03.25 PM.png](https://app.graphite.dev/user-attachments/assets/39170ed1-7379-48ac-aeed-638b57322a6a.png)
Author
bgw bgw
Parents
Loading