providing custom index.html file for electron-webpack

Viewed 1383

How can I provide my custom index.html when using electron-webpack ?.

I am new to webpack, I managed to configure it with electron but I didn't have the webpack-dev-server watch my html file so I had to refresh every time I made a change, and this is why I tried electron-webpack.

2 Answers

Create a src/index.ejs file, it will be used to generate the index.html file.

Related