Next.js · Junior · Question 31 of 75

Which bundler does Next.js 16 use by default for next dev and next build?

Explanation

Since Next.js 16, Turbopack is stable and used by default in both modes - the --turbopack flag is no longer needed. You can go back to Webpack with the --webpack flag. If the project has a custom webpack config, next build without the flag fails so that the config isn't silently ignored.

Further reading

Problem with a question

Next.js · Junior · question 31

Test yourself

Take the Next.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz