title: JS Library not loading on Laravel
body: <p>I have installed list.js within my application on laravel. I am trying to follow the best practice while working on laravel but I am a bit new on it!</p>
  
  <p>I did it trough <code>npm install list.js</code> &amp; then run <code>npm run dev</code> on my console</p>
  
  <p>This process was successful. Then I have added into my app.js the line <code>require('list.js');</code></p>
  
  <p>This also works and the file is getting compiled properly.</p>
  
  <p>But now when I start the library:</p>
  
  <pre><code>var options = {
      valueNames: [ 'list-rest-name', 'list-cuisine' ]
  };
  
  var userList = new List('wrap-rest-list', options);
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>app.js:13917 Uncaught ReferenceError: List is not defined
      at Object.&lt;anonymous&gt; (app.js:13917)
      at __webpack_require__ (app.js:20)
      at Object.&lt;anonymous&gt; (app.js:13881)
      at __webpack_require__ (app.js:20)
      at app.js:63
      at app.js:66
  </code></pre>
  
  <p>Like my application is not loading the library at all.</p>
  
  <p>Any idea why?</p>
  
  <p>I am loading my app.js on the head of my application!</p>