Nest's documentation says that nest build
compiles stuff "into an output folder".
It fails however to mention what output folder that is.
Is it dist/
? Not sure, running the command also does not give any hints.
> [email protected] build /Users/alper/Code/contrib/nestest
> nest build
Commonly, nest build
will go to the dist
directory, as is a pretty common practice with most typescript applications. As a hint, you can look at the start:prod
script in the package.json
and see that it points at node dist/main
for the start point. This is configurable, though, by changing the outDir
of your tsconfig.json
. If you do end up changing it, make sure to update the start:prod
script if you plan on using that when you deploy for production