I need to import a library to my project, the library should is a javascript file, which need to be inlined to html.

for example: 

library code：

```
(function(){
   var a = 0;
})();

```

I need to make this code inline in html.

html:

```
<html>
  <head>
    <script>
      (function(){
         var a = 0;
      })();
    </script>
  </head>

  <body>
  </body>
</html>

```

can I implement this with webpack?
I find [script-loader](https://github.com/webpack/script-loader), but it run the script, not make it inline.