title: Webpack mix Laravel. Bundle array of files into same folder
body: <p>So I'm using the <code>webpack.mix.js</code> file to compile all my js files. I have a this folder tree</p>
  
  <pre><code>assets
  |--js
      |--datatables
          |--users.js
          |--countries.js
          |--taxes.js
          ...
  </code></pre>
  
  <p>and I want the same structure in my <code>public</code> folder.</p>
  
  <p>What I'm doing right now is executing one line for each js file and telling where to put them.</p>
  
  <pre><code>.js('resources/assets/js/datatables/users.js', 'public/js/datatables')
  .js('resources/assets/js/datatables/countries.js', 'public/js/datatables')
  .js('resources/assets/js/datatables/taxes.js', 'public/js/datatables')
  ...
  </code></pre>
  
  <p>But the list is getting way too longer. <strong>Is there a way to tell webpack to bundle a list of files in a specific folder?</strong> I've tried to pass an array instead of a single file url but that doesn't work. </p>
  
  <pre><code>/** Does not work */
  .js([
      'resources/assets/js/datatables/users.js',
      'resources/assets/js/datatables/countries.js',
      'resources/assets/js/datatables/taxes.js',
      ...
  ], 'public/js/datatables')
  </code></pre>