Discard empty rules and values with PostCSS.
npm install postcss-discard-empty-nightlyIn this, the package is named as postcss-discard-empty-nightly
In from this docs, you need to replace every
postcss-discard-empty --> postcss-discard-empty-nightly
*
Original Docs below
*
> Discard empty rules and values with PostCSS.
With npm do:
```
npm install postcss-discard-empty --save
For more examples see the tests.
`css`
@font-face;
h1 {}
{color:blue}
h2 {color:}
h3 {color:red}
`css``
h3 {color:red}
See the PostCSS documentation for
examples for your environment.
See CONTRIBUTORS.md.
MIT © Ben Briggs
[postcss]: https://github.com/postcss/postcss