I am webpacking my javascript
alert("Loaded out")
function showLoaded() {
    alert("Loadedin")
}
Trying to call the function showloaded from html
<!DOCTYPE html>
<html>
  <head>
      <script type="text/javascript" src="./bundle.js"></script>
  </head>
<body>
<script>showLoaded()</script>
</body>
</html>
Loaded out is being displayed by alert , but I can't seem to call the function showLoaded(). Am I missing something obvious here.

webpackcreate a closure, to which it puts all your rendered source?