I now have webpack generating my bunde file with a hash in the name:
bundle.649c4c4e6c8076189257.cache.js
I also have figured out how to have webpack generate my main html page from an html template using HtmlWebpackPlugin.
Here is my problem, in my html template I have the bundle file name hardcoded:
<script src="bundle.649c4c4e6c8076189257.cache.js"></script>
I would rather have some kind of variable, like this:
<script src="${bundleFileName}"></script>
How do I do this with webpack?