This package has been deprecated

Author message:

This module has been superceded by postcss-minify-font-values.

postcss-minify-font-weight

2.0.0 • Public • Published

postcss-minify-font-weight Build Status NPM version Dependency Status

Minimise font-weight values in your CSS.

Install

With npm do:

npm install postcss-minify-font-weight --save

Example

Input

h1 {
    font-weight: bold;
    font-weight: normal;
}

Output

h1 {
    font-weight: 700;
    font-weight: 400;
}

Usage

See the PostCSS documentation for examples for your environment.

Contributing

Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

License

MIT © Ben Briggs

Package Sidebar

Install

npm i postcss-minify-font-weight

Weekly Downloads

5,802

Version

2.0.0

License

MIT

Last publish

Collaborators

  • beneb