Repository navigation
v0.2.0
What's New
Local Standalone Preparation (prepareLocally)
New prepareLocally option (default: true) that copies public/ and .next/static/ into .next/standalone/ locally after build.
Benefits:
- Upload only
.next/standalone/to server (single folder) - No duplicate
public/,static/, orpackage.jsonon server - Cleaner server directory structure
- Slightly faster uploads (less files)
Breaking Changes
- Default
includelist changed from[".next/standalone/", ".next/static/", "public/", "package.json"]to[".next/standalone/"] - If you have custom
includein your config, you may need to update it
Migration
If you want the old behavior, set prepareLocally: false in your config:
build: {
prepareLocally: false,
},
upload: {
include: [".next/standalone/", ".next/static/", "public/", "package.json"],
}