mirror of https://github.com/curbengh/hexo-yam
Use 'after_generate' instead of 'before_exit'
Compatibility with hexo clean
This commit is contained in:
parent
ea13ea9967
commit
71c5878400
2
index.js
2
index.js
|
@ -45,6 +45,6 @@ var assign = require('object-assign');
|
|||
hexo.extend.filter.register('after_render:html', filter.logic_html);
|
||||
hexo.extend.filter.register('after_render:css', filter.logic_css);
|
||||
hexo.extend.filter.register('after_render:js', filter.logic_js);
|
||||
hexo.extend.filter.register('before_exit', filter.logic_gzip);
|
||||
hexo.extend.filter.register('after_generate', filter.logic_gzip);
|
||||
}
|
||||
//}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "hexo-yam",
|
||||
"description": "Yet Another Minifier. Minify and compress html, js and css",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.1",
|
||||
"readme": "README.md",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
|
|
Loading…
Reference in New Issue