hexo-generator-minify

2019-10-11 admin

hexo-generator-minify是什么

什么是hexo-generator-minify,An Hexo plugin to generate static site with minified CSS and JS resources

hexo-generator-minify使用教程帮助文档

DEPRECATED

Please use hexo-html-minifier and hexo-clean-css instead.


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.

Usage

Install

npm install hexo-generator-minify --save

Update

npm update

Uninstall

npm uninstall hexo-generator-minify

Usage

hexo gm

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

More info

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-77106.html

文章标题:hexo-generator-minify

回到顶部