diff --git a/gulpfile.js b/gulpfile.js index 2a9a10e2f..3c0d6e6f0 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -127,7 +127,7 @@ const JS = gulp.parallel(() => { return gulp.src(vendor) .pipe(babel(config.babelOptions)) .pipe(concat('app.min.js')) - .pipe(minifyJS()) + .pipe(gulpIf(!config.debug, minifyJS())) .pipe(gulp.dest(config.production + '/' + config.paths.js)); }, srcJS);