## Current Behavior The nextjs build executor does not support all build flags such as `--experimental-build-mode` (see https://nextjs.org/docs/app/api-reference/next-cli#build). ## Expected Behavior For certain deployment models (e.g. mult-environment builds), it is helpful to only compile but not generate pages at build time. See https://github.com/vercel/next.js/discussions/46544 for a discussion. --------- Co-authored-by: Emily Xiong <xiongemi@gmail.com> Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>