title: simple way to include node_modules in laravel 5.5
body: <p>How do you include /node_modules in a laravel 5.5 application, i referenced this <a href="https://laravel.com/docs/5.5/mix" rel="noreferrer">https://laravel.com/docs/5.5/mix</a></p>
  
  <p>i can do this</p>
  
  <pre><code>npm install angular-moment moment --save
  </code></pre>
  
  <p>and it will make a /node_modules directory, however laravel ignores it</p>
  
  <p>lets say i want to do this</p>
  
  <pre><code>&lt;script src="node_modules/moment/moment.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>it will not work, it will show an error</p>
  
  <p>i currently have this in my webpack, what will be the best way to integrate it ?</p>
  
  <pre><code>let mix = require('laravel-mix');
  
  /*
   |--------------------------------------------------------------------------
   | Mix Asset Management
   |--------------------------------------------------------------------------
   |
   | Mix provides a clean, fluent API for defining some Webpack build steps
   | for your Laravel application. By default, we are compiling the Sass
   | file for the application as well as bundling up all the JS files.
   |
   */
  
  mix.js('resources/assets/js/app.js', 'public/js')
     .sass('resources/assets/sass/app.scss', 'public/css');
  </code></pre>