grunt-contrib-compress
Advanced tools
Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "grunt-contrib-compress", | ||
"description": "Compress files and folders.", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-compress", | ||
@@ -44,2 +44,2 @@ "author": { | ||
] | ||
} | ||
} |
@@ -19,3 +19,3 @@ # grunt-contrib-compress [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-compress.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-compress) | ||
Inside your `grunt.js` file, add a section named `compress`. This section specifies the files to compress and the options passed to either [zipstream](https://github.com/wellawaretech/node-zipstream) (for zip) or [tar](https://github.com/isaacs/node-tar) (for tar/tgz) or [zlib](http://nodejs.org/api/zlib.html#zlib_options) (for gzip). | ||
Inside your `grunt.js` file, add a section named `compress`. This section specifies the files to compress and the options passed to either [archiver](https://github.com/ctalkington/node-archiver) (for zip) or [tar](https://github.com/isaacs/node-tar) (for tar/tgz) or [zlib](http://nodejs.org/api/zlib.html#zlib_options) (for gzip). | ||
@@ -22,0 +22,0 @@ #### Parameters |
@@ -68,3 +68,3 @@ /* | ||
if (options.mode === 'gzip' && srcFiles.length > 1) { | ||
if (mode === 'gzip' && srcFiles.length > 1) { | ||
grunt.fail.warn('Cannot specify multiple input files for gzip compression.'); | ||
@@ -71,0 +71,0 @@ srcFiles = srcFiles[0]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55545