Third party libraries for Electron with Webpack/Angular2?


Are there any good resources on how to integrate Angular2 to Electron with third party libraries? There seems to be some issues with Webpack bundling the node_modules in general but most of the solution require direct access to the webpack.config that angular-cli doesn’t provide. So far I use angular2-electron-starter but I can’t install any node_modules with it. Essentially I am looking for the easiest and most reliable way to combine electron, a non-sql database (interface already written for Mongoose and Linvodb) with Angular 2.