1.0.0 • Published 4 years ago

hexo-cute v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

status

npm version

Hexo-cute

I want a perfect page to show for my blog, so I made this plugin, but one day some guys said it was too slow https://github.com/rozbo/hexo-neat/issues/13, and I try to fix it, but I can't, hexo doest provide any api to get the resource that changed. I have tried many methods, including reading the database, comparing hashes myself, etc., but the coupling in this place is so high that we have no chance to intervene.

Finally, as a last resort, I used this solution, monkey patch, which is hooked by myself and is not officially supported by hexo. To make matters worse, with the hexo update, this scheme may fail. So the risk is controlled by yourself.

Installation

$ npm install hexo-cute --save

Options

To Enable Auto neat , you must config like this:

cute:
  enable: true
  html:
    enable: true
    #....
  css: 
    enable: true
    #.....
  js: 
    enable: true
    #.....

Sponsor

The project is develop by JetBrains Ide

npm.io