postcss-discard-empty-nightly

Discard empty rules and values with PostCSS.

MIT 9 个版本
安装
npm install postcss-discard-empty-nightly
yarn add postcss-discard-empty-nightly
pnpm add postcss-discard-empty-nightly
bun add postcss-discard-empty-nightly
README

This is an un-official nightly release of cssnano's postcss-discard-empty

In 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


postcss-discard-empty

Discard empty rules and values with PostCSS.

Install

With npm do:

npm install postcss-discard-empty --save

Example

For more examples see the tests.

Input

@font-face;
h1 {}
{color:blue}
h2 {color:}
h3 {color:red}

Output

h3 {color:red}

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

版本列表
0.8.4 2020-08-04
0.8.1 2020-08-01
0.7.31 2020-07-31
0.7.25 2020-07-25
0.7.24 2020-07-24
0.7.8 2020-07-08
0.6.30 2020-06-30
0.6.27 2020-06-27
0.6.26 2020-06-26