hexo-generator-minify

An Hexo plugin to generate static site with minified CSS and JS resources

hexo-generator-minify

A plugin for Hexo to generate static site with minified CSS and Javascript resources.

The plugin process file with the .css or .js extension, files containing the .min or .pack suffix in their name will be ignored.

npm install hexo-generator-minify --save
npm update
npm uninstall hexo-generator-minify
hexo gm

Options: --cssSafe: Skip dangerous transformations while minimizing CSS

The hexo-generator-minify plugin borrows a lot from hexo-minifer by ChrisYip. Explore other Hexo plugins.