]> git.r.bdr.sh - rbdr/serpentity/blob - gulpfile.js
edd97d08a2fabe3824dbd5a0b8ed2aeb06f41221
[rbdr/serpentity] / gulpfile.js
1 'use strict';
2
3 const Gulp = require('gulp');
4 const Babel = require('gulp-babel');
5 const Concat = require('gulp-concat');
6
7 Gulp.task('build', function() {
8 Gulp.src([
9 'lib/serpentity.js',
10 'lib/serpentity/entity.js',
11 'lib/serpentity/node.js',
12 'lib/serpentity/node_collection.js',
13 'lib/serpentity/component.js',
14 'lib/serpentity/system.js'
15 ])
16 .pipe(Babel({
17 presets: ['es2015']
18 }))
19 .pipe(Concat('serpentity.js'))
20 .pipe(Gulp.dest('dist'));
21 });