Update build CLI docs with new flag (#16419)

This commit is contained in:
JJ Kasper 2020-08-21 08:12:27 -05:00 committed by GitHub
parent 21566e3ae1
commit c2a42e4350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,14 @@ next build --profile
After that, you can use the profiler in the same way as you would in development.
You can enable more verbose build output with the `--debug` flag in `next build`. This requires Next.js 9.5.3:
```bash
next build --debug
```
With this flag enabled additional build output like rewrites, redirects, and headers will be shown.
## Development
`next dev` starts the application in development mode with hot-code reloading, error reporting, and more: