Go to file
weyusi 9d07b59d99 Update clean-css to fix ReDoS vulnerability
This also update html-minifier which depends on clean-css
2018-09-27 15:33:59 +09:30
lib Add a print log configuration switch to solve compilation performance problems 2018-06-29 16:08:47 +08:00
README.md Update README.md 2018-06-29 16:11:00 +08:00
index.js Add a print log configuration switch to solve compilation performance problems 2018-06-29 16:08:47 +08:00
package.json Update clean-css to fix ReDoS vulnerability 2018-09-27 15:33:59 +09:30

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.
  • logger - Print log switch. 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.
  • logger - Print log switch. 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
  • logger - Print log switch. Defaults to true.
  • output: Output options
  • compress: Compress options
  • exclude: Exclude files

Thanks

Say Very Thanks for this gays: