aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2016-01-28 21:50:42 -0600
committerBen Beltran <ben@nsovocal.com>2016-01-28 21:50:42 -0600
commitbf8f1394a3b0fc0213ac069aa65b2407f1d0d090 (patch)
treef022d0acadefeb50baf17124776e400e1aa7f722
parent3db7d19815d24241bbe60c9afbb8b3f60d000550 (diff)
Removes uglify step
-rw-r--r--gulpfile.js35
1 files changed, 12 insertions, 23 deletions
diff --git a/gulpfile.js b/gulpfile.js
index dcbfdc7..3c43529 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,28 +1,17 @@
-var gulp = require('gulp');
-var uglify = require('gulp-uglify');
-var concat = require('gulp-concat');
+'use strict';
+
+let gulp = require('gulp');
+let concat = require('gulp-concat');
gulp.task('build', function() {
gulp.src([
- 'lib/serpentity/serpentity.js',
- 'lib/serpentity/entity.js',
- 'lib/serpentity/node.js',
- 'lib/serpentity/node_collection.js',
- 'lib/serpentity/component.js',
- 'lib/serpentity/system.js',
- ])
- .pipe(uglify())
- .pipe(concat('serpentity.min.js'))
- .pipe(gulp.dest('dist'))
-
- gulp.src([
- 'lib/serpentity/serpentity.js',
- 'lib/serpentity/entity.js',
- 'lib/serpentity/node.js',
- 'lib/serpentity/node_collection.js',
- 'lib/serpentity/component.js',
- 'lib/serpentity/system.js',
- ])
+ 'lib/serpentity.js',
+ 'lib/serpentity/entity.js',
+ 'lib/serpentity/node.js',
+ 'lib/serpentity/node_collection.js',
+ 'lib/serpentity/component.js',
+ 'lib/serpentity/system.js'
+ ])
.pipe(concat('serpentity.js'))
- .pipe(gulp.dest('dist'))
+ .pipe(gulp.dest('dist'));
});