festaticcompress

2019-09-12 admin

festaticcompress是什么

什么是festaticcompress,festaticcompress

festaticcompress使用教程帮助文档

fe static resource compress

festaticcompress 是一个压缩javascript, css,image的工具。

Install

First make sure you have installed the latest version of node.js (You may need to restart your computer after this step).

From NPM for use as a command line app: npm install festaticcompress -g

From NPM for programmatic use: npm install festaticcompress

From Git:

git clone git://github.com/festaticcompress/festaticcompress.git
cd festaticcompress
npm link .

Usage

Usage: festaticcompress

Commands: “all” 递归压缩图片,js,css Options: -p, --path 资源路径 -h, --help help

For example: festaticcompress all -p ./ 压缩当前目录下的所有静态资源

festaticcompress all -p "/path" 压缩"path"路径下的所有静态资源

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

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

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

文章标题:festaticcompress

回到顶部