I am trying to use Webpack since I want to use ES modules in my Electron application but having some hurdles. I just want to use import
in my main
as well as renderer
processes.
My application structure is as follows -
- src/ // contains basic html, css & js
- index.html // <h1>Hello World</h1>
- style.css // is empty
- app.js // console.log('it works