nestjs / typescript-starter

Nest framework TypeScript starter :coffee:
https://nestjs.com
1.89k stars 1.07k forks source link

Start:prod script fix #261

Closed joaohcrangel closed 1 year ago

joaohcrangel commented 1 year ago

A small correction of the "start:prod" script, since after the build the main file is in the src subdirectory.

jmcdo29 commented 1 year ago

since after the build the main file is in the src subdirectory.

This only happens if you import something from outside of src and is due to how Typescript's compiler works. The default setup does not do this, and thus would break with this new script