Capítulo 210 de 456
distDir sets a custom build output directory name instead of the default .next.
distDir: string config option; must stay inside the project directory (../build is invalid).module.exports = {
distDir: 'build',
}
.next por build como pasta de saída de next build.distDir fora do projeto: caminhos como ../build não são permitidos.