-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'))
+const Gulp = require('gulp');
+const Babel = require('gulp-babel');
+const Concat = require('gulp-concat');
+const Rename = require('gulp-rename');
+const Uglify = require('gulp-uglify');