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.
As discussed in issue #44, this PR switches to fs-extra and uses its outputFile method instead of writeFile, to fix a bug when trying to output nested folders critical paths.
As discussed in issue #44, this PR switches to fs-extra and uses its outputFile method instead of writeFile, to fix a bug when trying to output nested folders critical paths.