diff options
author | Noah Loomans <noahloomans@gmail.com> | 2016-12-06 15:25:53 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2016-12-06 15:25:53 +0100 |
commit | 863d43f5038cd3b660c2f5160cd56124fa09427b (patch) | |
tree | 7f2202a03e976eb809417ecb125fa26d1c91f2fe /gulpfile.js | |
parent | 0cb55c1877c027bc6197a02f4758820cae36cae0 (diff) |
improved build system
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index bb38213..0000000 --- a/gulpfile.js +++ /dev/null @@ -1,14 +0,0 @@ -const gulp = require('gulp') -const fs = require('fs') -const browserify = require('browserify') - -gulp.task('scripts', function () { - browserify({ entries: './public/javascripts/main.js', debug: true }) - .transform('babelify', {presets: ['es2015']}) - .bundle() - .pipe(fs.createWriteStream('./public/javascripts/bundle.js')) -}) - -gulp.task('scripts:watch', function () { - return gulp.watch(['./public/javascripts/**/*.js', '!./public/javascripts/bundle.js'], ['scripts']) -}) |