aboutsummaryrefslogtreecommitdiff
path: root/node_modules/cssnano/README.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2018-11-08 00:38:48 +0800
committerruki <waruqi@gmail.com>2018-11-07 21:53:09 +0800
commit26105034da4fcce7ac883c899d781f016559310d (patch)
treec459a5dc4e3aa0972d9919033ece511ce76dd129 /node_modules/cssnano/README.md
parent2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff)
downloadxmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz
xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip
switch to vuepress
Diffstat (limited to 'node_modules/cssnano/README.md')
-rw-r--r--node_modules/cssnano/README.md56
1 files changed, 56 insertions, 0 deletions
diff --git a/node_modules/cssnano/README.md b/node_modules/cssnano/README.md
new file mode 100644
index 00000000..f96fef74
--- /dev/null
+++ b/node_modules/cssnano/README.md
@@ -0,0 +1,56 @@
+<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