Ryan Zimmerman
Ryan Zimmerman
We're already using a custom resource loader; we just need to add this feature to our custom loader.
jsdom doesn't support `window.matchMedia` yet, unfortunately.
@codedbypaul You're using `:not()` incorrectly. From https://developer.mozilla.org/en-US/docs/Web/CSS/:not > The `:not()` pseudo-class requires a comma-separated list of one or more selectors as its argument. _The list must not contain another negation...
Ah, good point; my bad.
My suspicion is that this is related to https://github.com/tmpvar/jsdom/issues/1750; it seems jsdom doesn't have proper `:not()` support. `:not()` works fine in cases like `.foo:not(div)`, but it seems it doesn't work...
`report.selectors.unused` should only report the selectors that were cleaned from the CSS. > and also does not skip all pseudo's. I'm not sure I understand?
@indeyets Any progress on this?
What’s your os? Node.js version? UnCSS version? How many files/how big files are we processing here?
Wow, that's a lot! How are you running uncss? Via the command line? As a postcss plugin?
I was able to crash uncss by running it against a huge list of URLs (I was using the JS API). I think this is basically an inherent limitation of...