Blame view

node_modules/cssnano/README.md 2.39 KB
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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