matype / postcss-style-guide

PostCSS plugin to generate a style guide automatically
Other
526 stars 33 forks source link

Add `silent` option to prevent `success`-messages from being outputted #42

Closed rexxars closed 7 years ago

rexxars commented 8 years ago

We're using this as part of a build process, and the fact that it generates a success message is kind of noisy when it is applied to many input files.

I've added a simple silent option to prevent any output in case of successful builds.

rexxars commented 8 years ago

Tests are failing on master too, btw, so not caused by this PR.

matype commented 8 years ago

@rexxars Thank you for your report and PR :) I just fixed a test case that was falled on master branch.

I think, we use postcss-style-guide with postcss-import to squash all input files. Did not you use postcss-import or the other postcss plugins to replace it (e.g. postcss-partial-import)?

rexxars commented 8 years ago

We're using it with CSS modules, which has it's issues in itself, but this PR fixes at least one issue ;)