Add note about public folder with standalone mode (#34646)
This commit is contained in:
parent
5c8e787803
commit
411a9b84d8
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module.exports = {
|
|||
|
||||
This will create a folder at `.next/standalone` which can then be deployed on it's own without installing `node_modules`.
|
||||
|
||||
Additionally, a minimal `server.js` file is also output which can be used instead of `next start`. This minimal server does not copy the `.next/static` directory by default as this should ideally be handled by a CDN instead, although it can be copied to the `standalone` folder manually and the `server.js` file will serve it automatically.
|
||||
Additionally, a minimal `server.js` file is also output which can be used instead of `next start`. This minimal server does not copy the `public` or `.next/static` folders by default as these should ideally be handled by a CDN instead, although these folders can be copied to the `standalone` folder manually and the `server.js` file will serve it automatically.
|
||||
|
||||
## Caveats
|
||||
|
||||
|
|
Loading…
Reference in a new issue