Closed holtwick closed 6 years ago
@holtwick I'm not sure
electron-main
is node.js and electron-renderer
the Chrome JS engine. Since the code goes into the window it is Chrome-land and therefore I would vote for the later :)
Also see for comparison https://github.com/chentsulin/electron-react-boilerplate/blob/master/webpack.config.renderer.dev.js
And https://webpack.js.org/concepts/targets/
Anyway, shouldn't make a big difference.
I think this should be
electron-renderer
?https://github.com/pastahito/electron-react-webpack/blob/0ca6107cb2443417c5ad9c681efa34b17b08ec82/webpack.config.js#L7