DEV Community

Discussion on: Electron with Typescript using ts-node

Collapse
 
xemanet profile image
xemanet

Hi Michael!!

require('ts-node').register(); // This will register the TypeScript compiler
require('./src'); // This will load our Typescript application

wonderful!!!!!

I generate a package windows and run correctly!!

A note: with save-dev is ok in development but in package the app need as dependence

Collapse
 
michaeljota profile image
Michael De Abreu

Good to know. Glad it helps you. :).