I'm running webpack-dev-server from my package.json script.
When I don't put tag in my index.html, bundle is not being loaded even when webpack-dev-server should put it there automatically.
My code looks like this:
<body>
<div id="my-app"></div>
<script src="bundle.js"></script>
<script type="text/javascript" src="app.bundle.aa2801db8d757c2f2d78.js"></script>
</body>
I put the first bundle there when running webpack-dev-server and second bundle got generated by HTMLWebpackPlugin when I built project for production. Basically I want to get rid of the first bundle in my production code.
Thanks for any suggestions.