Is there a way to ignore a file type with Webpack?
<p>In creating my art for my website, I have some intermediate files that I want to keep in my "media" folder.</p>

<p>But then webpack starts complaining that it does not know what to do with those files.</p>

<p>Is there an easy way to say, don't worry about any files with the <code>.pdn</code> extension?</p>

<p>I tried these options in my webpack.config.js, and it did not help:</p>

<ol>
<li><code>{ test: /\.pdn?$/, loader: 'raw', exclude: /.*/}</code></li>
<li><code>{ test: /\.pdn?$/, exclude: /.*/}</code></li>
</ol>