Unverified Commit 4c723f4d authored by Steven's avatar Steven Committed by GitHub

chore: add jsdoc to `output` in next.config.js (#46804)

- Follow up to #46744
parent a0c5a630
......@@ -544,6 +544,14 @@ export interface NextConfig extends Record<string, any> {
}
}
/**
* The type of build output.
* - `undefined`: The default build output, `.next` directory, that works with production mode `next start` or a hosting provider like Vercel
* - `'standalone'`: A standalone build output, `.next/standalone` directory, that only includes necessary files/dependencies. Useful for self-hosting in a Docker container.
* - `'export'`: An exported build output, `out` directory, that only includes static HTML/CSS/JS. Useful for self-hosting without a Node.js server.
* @see [Output File Tracing](https://nextjs.org/docs/advanced-features/output-file-tracing)
* @see [Static HTML Export](https://nextjs.org/docs/advanced-features/static-html-export)
*/
output?: 'standalone' | 'export'
// A list of packages that should always be transpiled and bundled in the server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment