From 4aa28add99146f196d3513caf14e37a401c7b882 Mon Sep 17 00:00:00 2001 From: Hyunje Alex Jun Date: Sat, 3 Oct 2015 21:48:02 +0900 Subject: [PATCH] Add missing '.min' in compressed JS files --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index da9904b..a487efd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -65,9 +65,9 @@ gulp.task('js:min', ['clean:js:min'], function () { .pipe(insert.prepend(version)) .pipe(rename(function (path) { if (path.basename === 'global') { - path.basename = 'perfect-scrollbar'; + path.basename = 'perfect-scrollbar.min'; } else { - path.basename = 'perfect-scrollbar.' + path.basename; + path.basename = 'perfect-scrollbar.' + path.basename + '.min'; } })) .pipe(gulp.dest('./dist/js/min'))