electron-boilerplate
electron-boilerplate copied to clipboard
Use HtmlWebpackPlugin to inject html during webpack build
This could reduce the drawback of the design mentioned in README.
Do we then have to add a new object to webpack.base.config.js for every file we have?
@black-snow Yes I believe so. Or else we could have a forEach loop that adds the object for each of the html files.
adding things manually is nasty, I wouldn't use it if it forced me to :|
Yes I agree. We could automate it by fetching *.html files using a regex. If we don't automate this, we would end up manually adding entries in .gitignore file. Updated the code to fetch *.html files.