DEV Community

Discussion on: Electron with Typescript using ts-node

 
michaeljota profile image
Michael De Abreu

For node_modules requires, you can use npmjs.com/package/Webpack-node-ext.... I would really consider use Webpack, but it seems it's safe to use ts-node (github.com/TypeStrong/ts-node/issu...).

Thread Thread
 
trusktr profile image
Joe Pea

Ah, thanks for sharing webpack-node-externals. That could come handy when I find myself in an existing webpack/node project.

Thread Thread
 
marksyzm profile image
Mark Elphinstone-Hoadley

Did you manage to get debugging to work in vscode or similar? I've had problems getting breakpoints to work. It just ignores them when it is in a file that isn't native JS.