title: Copy multiple html files with webpack2 (from src to dist folder)
body: <p>Which loader/plugin should I use to move multiple html files from one folder (src) to another (dist) which only imports files that obey certain rules in this example I need to import multiple html files, so the regex would be:</p>
  
  <blockquote>
    <p>/.html$/</p>
  </blockquote>
  
  <p>I know that I can move html using html-webpack-plugin but I don't want to create object instance for every page I want to move. I also don't want to make multiple imports in my app.js (entry point for webpack).</p>
  
  <p>So i tried with copy-webpack-plugin but this one moves everything from src to dist. Is it possible to filter with my regex pattern or do you know other way that works to do this?</p>
  
  <pre><code>new CopyWebpackPlugin([{ 
      from: './src',
      to: path.resolve(__dirname, "dist")
  }],
  </code></pre>
  
  <p>I gues that I could use system </p>
  
  <pre><code>mkdir dist &amp;&amp; cp ./src/*.html ./dist 
  </code></pre>
  
  <p>And simply run this in my package.json in the script before running webpack -d
  but this is not the "polite" way of doing this. I'm sure that webpack can do that easily..</p>
  
  <p>Ps. Also, it would be nice to minimize those files, if possible.</p>