webpack/no-js-inject/index.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Webpack</title>
<!-- Like `../template`, but in a more demo-y setup without hash + HTML Js inject. -->
</head>
<body>
<script src="dist/main.js"></script>
<script>
window.addEventListener('DOMContentLoaded', () => {
document.body.innerHTML += `<div>${my_library_name.my_exported_var}</div>`
})
</script>
</body>
</html>