From b6b5b50435328f1100d2d4c627f31f83fd86f414 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 3 Jun 2017 01:37:44 +0200 Subject: [PATCH] Uglify js --- gulpfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 196450f..5789da7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -24,12 +24,14 @@ gulp.task('three', function() { 'bower_components/three.js/examples/js/Detector.js', ]) .pipe(plugins.concat('three.js')) + .pipe(plugins.environments.production(plugins.uglify())) .pipe(gulp.dest('web/resources/js')); gulp.src([ 'bower_components/three.js/examples/js/controls/OrbitControls.js', ]) .pipe(plugins.concat('OrbitControls.js')) + .pipe(plugins.environments.production(plugins.uglify())) .pipe(gulp.dest('web/resources/js')); });