Skip to content

chrisyip/hexo-minifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project's discontinued!

CSS and JavaScript minifier plugin for Hexo

This plugin allows you to minify all the CSS and JavaScript files.

Note: files must end with .css or .js and files with .min. will be ignored.

Usage

Install

npm install hexo-minifer --save

Update

npm update

Uninstall

npm uninstall hexo-minifer

Usage

hexo minify [-g|-generate]

With the argument: -g or -generate, or public folder isnot exist, minifier will generate files before minification.

About HTML minifier

For now, there's no suitable HTML minifier for Hexo, I recommend to use templating engine that outputs minified HTML file, e.g. Jade, read more on Hexo wiki.

About

Compress HTML, CSS and JavaScript for Hexo

Resources

License

Stars

Watchers

Forks

Packages

No packages published