From 7f5e1fd558a401bbb1321bfb4583fa4a1bb3cded Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Sun, 14 Jan 2018 10:54:54 +0530 Subject: [PATCH] gulpfile: minor log styling --- gulpfile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index b50c67a..fa21884 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -10,8 +10,7 @@ function minifyJs(fileName) { const content = fs.readFileSync(fileName, "utf8"); const minifiedContent = babelMinify(content).code; fs.writeFileSync(fileName, minifiedContent); - console.log(`[${fileName}]: before -> ${content.length}kb`) - console.log(`[${fileName}]: after -> ${minifiedContent.length}kb`) + console.log(`[${fileName}]: ${content.length}kb -> ${minifiedContent.length}kb`) } gulp.task('copyFiles', [], function() { gulp