title: Missing Module When Building JavaScript
body: <p>I'm building an internal tool in Laravel and I need a datetime picker for part of the interface. My research has suggested that Tempus Dominus is the solution most people use to solve this.</p>
  
  <p>I've installed Tempus Dominus and Moment (through Node) and added them both to my <code>app.js</code> file. However when I try to compile the JS I get the following warning:</p>
  
  <pre><code>WARNING in ./node_modules/moment/min/moment.min.js
  Module not found: Error: Can't resolve './locale' in 'C:\inetpub\wwwroot\salesdb\node_modules\moment\min'
   @ ./node_modules/moment/min/moment.min.js
   @ ./resources/js/app.js
   @ multi ./resources/js/app.js ./resources/sass/app.scss
  </code></pre>
  
  <p>This is how I'm importing them in the <code>app.js</code> file:</p>
  
  <pre><code>require('moment/min/moment.min.js');
  require( 'tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js');
  </code></pre>
  
  <p>What am I missing?</p>