From 60a6915a0b24975e28a02b28e43d34f6dbb15625 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Tue, 12 Aug 2014 19:25:52 -0500 Subject: Components extend without having to define init --- gulpfile.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index f1fb5e6..dcbfdc7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -12,6 +12,17 @@ gulp.task('build', function() { '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', + ]) .pipe(concat('serpentity.js')) .pipe(gulp.dest('dist')) }); -- cgit