zgreen / postcss-critical-css

PostCSS plugin to define and output critical CSS using custom atRules, and/or custom CSS properties. Critical CSS may be output to one or more files, as defined within the plugin options or within the CSS.
MIT License
86 stars 11 forks source link

fix multiplied scope output #17

Closed zgreen closed 7 years ago

zgreen commented 7 years ago

Fixes https://github.com/zgreen/postcss-critical-css/issues/15#issuecomment-305113571

@jkphl Do you want to try this out? I'll cut a release if it fixes the issue.

jkphl commented 7 years ago

@zgreen I just did a very quick check but it seems to work now! :)