Go to file
Mingyu Gu 0089858eb8
Fixed 'exclude' config does not work issue
Matching paths require add the `{ matchBase: true }` paramter
2018-06-29 15:49:13 +08:00
lib Fixed 'exclude' config does not work issue 2018-06-29 15:49:13 +08:00
README.md add a badge 2016-06-23 13:27:24 +08:00
index.js init code 2016-05-26 19:09:41 +08:00
package.json release 1.0.4 2016-06-22 19:35:26 +08:00

README.md

status

npm version

Hexo-neat

I want a profect page to show for my blog, so I made this.

Show

青枫浦

Installation

$ npm install hexo-neat --save

Options

To Enable Auto neat , you must config like this:

neat_enable: true
neat_html:
  enable: true
  exclude:
  • enable - Enable the plugin. Defaults to true.
  • exclude: Exclude files Note: there are so many params please see 'HTMLMinifier'

neat_css:
  enable: true
  exclude:
    - '*.min.css'
  • enable - Enable the plugin. Defaults to true.
  • exclude: Exclude files

neat_js:
  enable: true
  mangle: true
  output:
  compress:
  exclude:
    - '*.min.js'
  • enable - Enable the plugin. Defaults to true.
  • mangle: Mangle file names
  • output: Output options
  • compress: Compress options
  • exclude: Exclude files

Thanks

Say Very Thanks for this gays: