aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-06 15:25:53 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-06 15:25:53 +0100
commit863d43f5038cd3b660c2f5160cd56124fa09427b (patch)
tree7f2202a03e976eb809417ecb125fa26d1c91f2fe /gulpfile.js
parent0cb55c1877c027bc6197a02f4758820cae36cae0 (diff)
improved build system
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js14
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'])
-})