Can you try the following:
Christian Sepulveda
1

Hi Christian,

thank you very much, this does seem to work. However I just now found something different, but it requires ejecting the create-webpack-app. Because once you do you have access to the webpack configuration and all you have to do then is add

`target: ‘electron-renderer’`

to the `module.exports` of your webpack config. See line 26 of this config, that is all I added, and then you can even use regular import statements.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.