Using webpack to load CSS files from node modules
<p>I'm trying to use a <a href="https://jedwatson.github.io/react-select/" rel="noreferrer">react component</a> that includes a css file. I'm requiring the component as usual:</p>

<pre><code>var Select = require('react-select');
</code></pre>

<p>I'd like to know how can I require the css needed for the component. </p>

<p>I've already tried this:</p>

<pre><code>require('react-select/dist/react-select.css');
</code></pre>

<p>And this:</p>

<pre><code>require('react-select.css');
</code></pre>

<p>And none have worked.</p>