pnpm --filter=web deploy --prod ./dist-web

Category: Node.js & npm/yarn

pnpm --filter=web deploy --prod ./dist-web

Deploy a workspace package to a folder

Copies the web workspace and its production dependencies into dist-web as a self-contained deployable directory, pruning dev dependencies and workspace links. The --filter selects the workspace and --prod keeps the output lean. Deployment servers can then install and start from that folder.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.