Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

README.md

status

npm version

Hexo-neat

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

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
  • Note: there are so many params please see clean-css

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
  • Note: there are so many params please see UglifyJS

Thanks

Say Very Thanks for this gays:

Sponsor

The project is develop by JetBrains Ide

About

auto Minify html、js、css and make it neat

Resources

Packages

No packages published
You can’t perform that action at this time.