10000 GitHub - maksugr/cssnano: A modular minifier, built on top of the PostCSS ecosystem.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

maksugr/cssnano

 
 

Repository files navigation


cssnano


A modular minifier, built on top of the PostCSS ecosystem.

Build Status Build status Coverage Status NPM version Dependency Status Gitter

cssnano is a modern, modular compression tool written on top of the PostCSS ecosystem, which allows us to use a lot of powerful features in order to compact CSS appropriately.

Our preset system allow you to load cssnano in a different configuration depending on your needs; the default preset performs safe transforms, whereas the advanced preset performs more aggressive transforms that are safe only when your site meets the requirements; but regardless of the preset you choose, we handle more than whitespace transforms!

Optimisations range from compressing colors & removing comments, to discarding overridden at-rules, normalising unicode-range descriptors, even mangling gradient parameters for a smaller output value! In addition, where it's made sense for a transform, we've added Browserslist to provide different output depending on the browsers that you support.

For further details check out the website:

You can now try cssnano online via Runkit!

Contributing

See CONTRIBUTING.md.

License

MIT © Ben Briggs

About

A modular minifier, built on top of the PostCSS ecosystem.

< 5638 svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link flex-shrink-0 mr-2"> cssnano.co

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 91.1%
  • JavaScript 8.9%
0