cli-compress
v1.1.0
Published
通过node-minify压缩混淆html、js、css
Downloads
5
Readme
如何使用
- 安装
npm install cli-compress
执行命令
compress cm originalPath destPath
originalPath: 要混淆的代码所在文件夹 destPath:输出混淆后的文件夹
发布命令
- 首先登录 npm login
- 发布 npm publish
取消发布:
npm unpublish 包@版本号
npm unpublish [email protected]
node-minify 文档
https://node-minify.2clics.net/compressors/cssnano.html#usage
注意事项
css 文件处理时, css文件中不能出现此类注释符号:
<!-- -->
这种情况css压缩混淆失败