next build [dir]

Create an optimized production build of your application

Arguments

NameDescription
dirRepresent the directory of the Next.js application

Options

NameDescription
--profileEnable production profiling
--debugEnable more verbose build output