From 9e9222c65d63ccd80ceb4afcbc693f6d3d4522eb Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 15 May 2012 00:09:31 -0400 Subject: [PATCH] Change reported minified size from KB to bytes. Former-commit-id: 35276bfeda03ca7158f19b265cc5d0863dd9286f --- build/minify.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/minify.js b/build/minify.js index b95091b8d..26fd3680e 100755 --- a/build/minify.js +++ b/build/minify.js @@ -199,7 +199,7 @@ } // store the gzipped result and report the size this.compiled.gzip = result; - console.log('Done. Size: %d KB.', result.length); + console.log('Done. Size: %d bytes.', result.length); // next, minify the source using only UglifyJS uglify.call(this, this.source, onUglify.bind(this)); @@ -236,7 +236,7 @@ // store the gzipped result and report the size this.uglified.gzip = result; - console.log('Done. Size: %d KB.', result.length); + console.log('Done. Size: %d bytes.', result.length); // next, minify the Closure Compiler minified source using UglifyJS uglify.call(this, this.compiled.source, message, onHybrid.bind(this)); @@ -271,7 +271,7 @@ } // store the gzipped result and report the size this.hybrid.gzip = result; - console.log('Done. Size: %d KB.', result.length); + console.log('Done. Size: %d bytes.', result.length); // finish by choosing the smallest compressed file onComplete.call(this);