title: can javascript be inline with webpack?
body: <p>I need to import a library to my project, the library should is a javascript file, which need to be inlined to html.</p>
  
  <p>for example: </p>
  
  <p>library code：</p>
  
  <pre><code>(function(){
     var a = 0;
  })();
  </code></pre>
  
  <p>I need to make this code inline in html.</p>
  
  <p>html:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;script&gt;
        (function(){
           var a = 0;
        })();
      &lt;/script&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>can I implement this with webpack?
  I find <a href="https://github.com/webpack/script-loader">script-loader</a>, but it run the script, not make it inline.</p>