From 69318824f6915e471a65abb3cd5a1f688a170fce Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Tue, 7 Apr 2015 18:33:20 +0200 Subject: [PATCH] Compress release packages. --- mkrfile.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mkrfile.js b/mkrfile.js index 17b0b4c9..f8a03225 100644 --- a/mkrfile.js +++ b/mkrfile.js @@ -29,7 +29,7 @@ function getBuildSuffix(callback) { } -$.fn.autoprefixer = function (options) { +$.fn.autoprefixer = function () { var autoprefixer = require('autoprefixer-core'); var options = {browsers: ['last 2 versions']}; @@ -202,7 +202,7 @@ module.exports = function (suite) { var target = path.join(build, pkg.name + '-' + pkg.version + '.zip'); $(build + ': **') - .jszip({dir: build}) + .jszip({dir: build, level: 9}) .write(target, true); }); }; diff --git a/package.json b/package.json index 98332c87..e306b933 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "fquery-includeit": "~0.2.0", "fquery-jade": "~0.3.0", "fquery-jshint": "~0.2.0", - "fquery-jszip": "~0.4.0", + "fquery-jszip": "~0.5.0", "fquery-less": "~0.2.0", "fquery-uglifyjs": "~0.2.1", "mkr": "~0.6.1"