DEV Community

Discussion on: Node.js with TypeScript, Debug inside VSCode and Nodemon

Collapse
 
briancodes profile image
Brian • Edited

This is very handy to know, and I've used some of this to debug Angular Universal server side code.

In the GitHub project you linked, I notice you use webpack for production build. Is it necessary to use webpack when using TypeScript server side?

Collapse
 
oieduardorabelo profile image
Eduardo Rabelo

oh, thanks mate! didn't noticed it, it should be in a separated branch, not master.

it is not necessary, it is my personal approach to always bundle my server-side code, inspired by github.com/jaredpalmer/backpack

i'll update my master branch