1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-20 22:20:08 -07:00

Uglify js

This commit is contained in:
Unknown 2017-06-03 01:37:44 +02:00
parent e549c2a33c
commit b6b5b50435

View File

@ -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'));
});