postcss-normalize-whitespace-nightly

Trim whitespace inside and around CSS rules & declarations.

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

This is an un-official nightly release of cssnano's postcss-normalize-whitespace

In this, the package is named as postcss-normalize-whitespace-nightly

In from this docs, you need to replace every

postcss-normalize-whitespace --> postcss-normalize-whitespace-nightly


Original Docs below


postcss-normalize-whitespace

Normalize whitespace with PostCSS.

Install

With npm do:

npm install postcss-normalize-whitespace --save

Example

Input

h1{
    width: calc(10px - ( 100px / var(--test) )) 
}

Output

h1{
    width: calc(10px - 100px / var(--test))
}

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