#
build
The build
command is responsible for:
- Building the Next.js production code.
- Building the background worker production code.
#
Next.js
pnpm build web
The .next/standalone/
folder will contain the output production code.
#
Background worker
pnpm build worker
The build/
folder will contain the output JS code as a single file.
#
Building both together
To build both the the Next.js and background worker production code together:
pnpm build