【文件属性】:
文件名称:gulp-gzip:gulp的Gzip插件
文件大小:14KB
文件格式:ZIP
更新时间:2021-04-27 13:25:43
JavaScript
gulp-gzip
Gzip已插入了对。
安装
npm install --save-dev gulp-gzip
选项
追Boolean
如果为true,则附加.gz文件扩展名。 默认为true。
gzip ( { append : true } )
filename.txt变为filename.txt.gz 。
扩展String
在文件名后附加任意扩展名。 禁用append和preExtension选项。
gzip ( { extension : 'zip' } ) // note that the `.` should not be included in the extension
filename.txt变为filename.txt.zip 。
preExtension String
在文件名后附加一个任意的预扩展名。 禁用append和extension选项。
【文件预览】:
gulp-gzip-master
----lib()
--------utils.js(1KB)
--------compress.js(3KB)
----examples()
--------simple()
--------advanced()
--------files()
----gulpfile.js(982B)
----LICENSE(1KB)
----test()
--------test.js(15KB)
--------files()
----README.md(4KB)
----.gitignore(180B)
----index.js(3KB)
----package.json(1KB)