mrnocreativity / postcss-critical-split

A PostCSS plugin that takes existing CSS files and splits out the annotated critical styles into a seperate file.
MIT License
89 stars 6 forks source link

Support important closing comments #18

Closed agarzola closed 5 years ago

agarzola commented 5 years ago

This PR adds support for important (/*! */) comments for start/end tags as well as modules. Previously, important comments were only supported for block tags (i.e. /*! critical */). It also documents important comment support in the README.md.

Closes #17.

mrnocreativity commented 5 years ago

Looks about right. Will merge it and run some final tests on it. If all is okay, i'll publish this new version to NPM right away :)

mrnocreativity commented 5 years ago

published to npm 😄 Thanks for your help! Much appreciated!