I have scaffolded a default NextJS 16.1.1 project (TailWindCSS 4.1 + shadcdn 3.6.2 + TypeScript 5.5.4) with some input screens to be shown as a demo - (intended to be wired to a Django API for writing purpose later on).
npm run dev is working as expected so far - now I want to upload this to my server - I ran npm run build - now which folders of /myNextJSProject/.next/ should I upload to /home/myUsername/apps/opalstack/myNextJSProject so that it'll be available at https://myUsername.opalstacked.com/myNextJSProject ?
ls in my .next folder shows this :
app-path-routes-manifest.json
build
BUILD_ID
build-manifest.json
cache
dev
diagnostics
export-marker.json
fallback-build-manifest.json
images-manifest.json
next-minimal-server.js.nft.json
next-server.js.nft.json
package.json
prerender-manifest.json
required-server-files.js
required-server-files.json
routes-manifest.json
server
static
trace
trace-build
turbopack
types
next export has been removed in favor of 'output: export' in next.config.js.