Our production Next.js micro-frontend app took 57 minutes to build. Using only Node's built-in CPU profiler, I found two bottlenecks, one in Module Federation and one inside webpack itself, and brought the build down to 26 minutes. You'll leave with a repeatable method for turning "the build is slow" into a hypothesis you can test.
This talk has been presented at React Summit Asia 2027, check out the latest edition of this React Conference.





















