JSPM

  • Created
  • Published
  • Downloads 10270325
  • Score
    100M100P100Q240636F
  • License MIT

Trim whitespace inside and around CSS rules & declarations.

Package Exports

  • postcss-normalize-whitespace
  • postcss-normalize-whitespace/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postcss-normalize-whitespace) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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