Next.js · Middle · Question 58 of 75

What is output: 'standalone' useful for?

Explanation

The build traces imported files and copies them to .next/standalone with a server.js. public and .next/static must be copied separately or served from a CDN.

Further reading

Problem with a question

Next.js · Middle · question 58

Test yourself

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

Take this quiz