Next.js Discord

Discord Forum

What happens between linting and collecting page data on next build?

Unanswered
Papillon posted this in #help-forum
Open in Discord
PapillonOP
I was adding a Mapbox integration using @mapbox/search-js-react, and I noticed my build times shot up by 3 minutes. It seems like there's a long time between when the last linting log is printed and when the collecting page data log is printed. In the past, there was only a 5-6 second gap between these two messages, but now it's 3 minutes.

What does next build do between the linting and the "collecting page data" steps? Trying to debug why that stage is taking so long now.

0 Replies