]> git.r.bdr.sh - rbdr/serpentity/commitdiff
Removes uglify step
authorBen Beltran <redacted>
Fri, 29 Jan 2016 03:50:42 +0000 (21:50 -0600)
committerBen Beltran <redacted>
Fri, 29 Jan 2016 03:50:42 +0000 (21:50 -0600)
gulpfile.js

index dcbfdc7007fb20a5e36d819d5752d1f85b7c8fed..3c4352968cb259e529d7f1df5f22b021921a2fb0 100644 (file)
@@ -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'));
 });