Paths in production
hernique33comiitei opened this issue · comments
A while ago, I saw a post in this issue talking about building with tsconfig-paths. For me it worked like this:
node -r ts-node/register -r tsconfig-paths/register dist/index.js
Is it correct for this to remain in production? Or should it somehow stick to the raw path when compiling?
You don't need ts-node/register
when using the build/compiled files in dist/*.js. You only need tsconfig-paths/register. Yes, also in production
Understood, thanks friend