lepu-test-platform-web/node_modules/cssnano/README.md

57 lines
2.4 KiB
Markdown
Raw Normal View History

<h1 align="center">
<br>
<img width="360" src="https://rawgit.com/ben-eb/cssnano/master/media/logo.svg" alt="cssnano">
<br>
<br>
<br>
</h1>
> A modular minifier, built on top of the [PostCSS] ecosystem.
[![Build Status](https://travis-ci.org/ben-eb/cssnano.svg?branch=master)][ci] [![Build status](https://ci.appveyor.com/api/projects/status/t1chyvhobtju7jy8/branch/master?svg=true)](https://ci.appveyor.com/project/ben-eb/cssnano/branch/master) [![Coverage Status](https://coveralls.io/repos/github/ben-eb/cssnano/badge.svg?branch=master)](https://coveralls.io/github/ben-eb/cssnano?branch=master) [![NPM version](https://badge.fury.io/js/cssnano.svg)][npm] [![Dependency Status](https://gemnasium.com/ben-eb/cssnano.svg)][deps] [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/ben-eb/cssnano?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
cssnano is a modular minifier that aims to utilise small modules from the
PostCSS ecosystem, rather than being an all-encompassing module that may be
difficult to contribute to. Because it is written on top of PostCSS, it is able
to do more than simple whitespace transforms - including advanced optimisations
such as custom identifier reduction, `z-index` rebasing, and adjacent selector
merging.
Note that cssnano enables aggressive optimisations by default, which might not
always be what you want. Set `options.safe` to `true` if you want to disable
this. In future versions, only safe options will be enabled by default, starting
from [version 4][v4].
For further details check out the [website](http://cssnano.co/):
* [Installation guide for your build process](http://cssnano.co/usage/).
* [Full list of optimisations](http://cssnano.co/optimisations/).
* [Customise the output (options documentation)](http://cssnano.co/options/).
You can now [try cssnano online](https://runkit.com/npm/cssnano) via Runkit!
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).
## Links
Please help to support this project by [purchasing a cssnano sticker][sticker].
[sticker]: https://www.stickermule.com/uk/marketplace/11086-cssnano
## License
MIT © [Ben Briggs](http://beneb.info)
[PostCSS]: https://github.com/postcss/postcss
[ci]: https://travis-ci.org/ben-eb/cssnano
[deps]: https://gemnasium.com/ben-eb/cssnano
[npm]: http://badge.fury.io/js/cssnano
[v4]: https://github.com/ben-eb/cssnano/issues/88