Skip to content

Commit 723caed

Browse files
authored
Update note about .next/static in standalone mode (vercel#32771)
1 parent e377698 commit 723caed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced-features/output-file-tracing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434

3535
This will create a folder at `.next/standalone` which can then be deployed on it's own without installing `node_modules`.
3636

37-
Additionally, a minimal `server.js` file is also output which can be used instead of `next start`. This minimal server does not handle serving the `static` directory as this should be handled by a CDN instead.
37+
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.
3838

3939
## Caveats
4040

0 commit comments

Comments
 (0)