Update readme for gzip option

This commit is contained in:
weyusi 2018-09-29 15:28:43 +09:30
parent 66557d353c
commit 7c82b1b52d
2 changed files with 4 additions and 3 deletions

View File

@ -71,10 +71,11 @@ neat_js:
---------- ----------
``` yaml ``` yaml
gzip: neat_gzip:
enable: true enable: true
``` ```
- **enable** - Enable the plugin. Defaults to `true`. - **enable** - Enable the plugin. Defaults to `true`.
- **logger** - Print log switch. Defaults to `true`.
## Credits ## Credits
All credits go to the following work: All credits go to the following work:
@ -82,4 +83,4 @@ All credits go to the following work:
- neat html by [HTMLMinifier](https://github.com/kangax/html-minifier) - neat html by [HTMLMinifier](https://github.com/kangax/html-minifier)
- neat css by [clean-css](https://github.com/jakubpawlowicz/clean-css) - neat css by [clean-css](https://github.com/jakubpawlowicz/clean-css)
- neat js by [UglifyJS](http://lisperator.net/uglifyjs/) - neat js by [UglifyJS](http://lisperator.net/uglifyjs/)
- gzip inspired by [hexo-generator-optimize](https://github.com/JackyRen/hexo-generator-optimize) - gzip inspired by [hexo-generator-optimize](https://github.com/JackyRen/hexo-generator-optimize)

View File

@ -1,7 +1,7 @@
{ {
"name": "hexo-yam", "name": "hexo-yam",
"description": "Yet Another Minifier. Minify and compress html, js and css", "description": "Yet Another Minifier. Minify and compress html, js and css",
"version": "0.4.3", "version": "0.4.4",
"readme": "README.md", "readme": "README.md",
"main": "index.js", "main": "index.js",
"directories": { "directories": {