]>
Commit | Line | Data |
---|---|---|
bf8f1394 BB |
1 | 'use strict'; |
2 | ||
f77c12fd BB |
3 | const Gulp = require('gulp'); |
4 | const Babel = require('gulp-babel'); | |
5 | const Concat = require('gulp-concat'); | |
74892a8f | 6 | |
f77c12fd BB |
7 | Gulp.task('build', function() { |
8 | Gulp.src([ | |
bf8f1394 BB |
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 | ]) | |
f77c12fd BB |
16 | .pipe(Babel({ |
17 | presets: ['es2015'] | |
18 | })) | |
19 | .pipe(Concat('serpentity.js')) | |
20 | .pipe(Gulp.dest('dist')); | |
74892a8f | 21 | }); |