Why does nextjs not allow distDir to be outside of directory?
Unanswered
Chausie posted this in #help-forum
ChausieOP
I have a monorepo and I want to mnove the build to another projects folder once finished so what is the point of nextjs not allowing this?
distDir should not leave your project directory. For example, ../build is an invalid directory.1 Reply
i mean, you can always build then copy (maybe to do with not wanting to confuse everything about what it is for, and use it for 2 projects)