X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/blobdiff_plain/60a6915a0b24975e28a02b28e43d34f6dbb15625..167b4bbc35c38f76639d4e9e438b76e64fc5f457:/gulpfile.js?ds=inline 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')); });