i have a NextJs 14 /app app (14.1.4) in a monorepo as a subdirectory, and when i do next build with output: standalone in config, i don’t get the structure the docs say i should.
the server.js isn’t in the root of the standalone directory. it’s nested under a structure like:
/dist/standalone/apps/<my app name>/server.js
there’s also the other folders there that look like they are remnants from other build types in /dist. as if NextJS creates the build as normal, then copies things into /dist/standalone but doesn’t clean up after copying.
is that expected? if so, how much of the /dist/standalone do i actually need to copy over if i wanna deploy it? and where should i copy the public and static dirs?
the docs that i have found say nothing about it