How to reference CSS from libraries installed via npm? : <p>So for example say I installed something:</p>

<pre><code>npm install --save something
</code></pre>

<p>and it downloads into</p>

<pre><code>./node_modules/something/
</code></pre>

<p>and it has a folder in there perhaps called <code>styles</code> and <em>in</em> that folder you have <code>something.css</code>. How would I include that css file in my html document (if my html document was along-side the <code>node-modules</code> folder?</p>

<p>I mean I <em>could</em> do this in my html head:</p>

<pre><code>&lt;link rel="stylesheet" href="./node_modules/something/styles/something.css" type="text/css" media="screen" /&gt;
</code></pre>

<p>But it feels wrong to go dig in your <code>node_modules</code> directory for stuff. Especially if the html document perhaps needs to get minified and then thrown into some <code>./dist/</code> directory. Because then the path to <code>something.css</code> is off.. </p>

<p>Isn't there a way to simply just go:</p>

<pre><code>&lt;link rel="stylesheet" href="something.css" type="text/css" media="screen" /&gt;
</code></pre>

<p>in your html document - regardless of where it's sitting in your project structure - and it'll just know where to go find that css file?</p>
