How to import / require ipcRenderer in a react / webpack setup



using a electron, react (es6 / jsx), sass, pouchdb and webpack setup. I fail to import or require ipcRenderer to make communication between main and renderer possible. My setup is here:

Any hints how to get the ipcRenderer into the react components?

Cheers, jo


If anybody is interested: used webpack-target-electron-renderer like here to solve this problem:

cheers, Jo