Electron and Angular 2


We are building an application with electron and angular 2 . Application is quite complex with a lot routing and views. We are using systemjs as module loader and have a lot of Js code in Coomonjs modules. We have trouble importing these modules into in our typescript code. We managed importing code with using require() but it is failing to resolve default node packages and only searching in node_modules. Anyone developing Angular 2 and Electron together probably can help.