diff options
author | BuildTools <Noah Loomans> | 2016-12-07 18:44:52 +0100 |
---|---|---|
committer | BuildTools <Noah Loomans> | 2016-12-07 18:44:52 +0100 |
commit | 65bd3df149d7eb63d169bba40975f342609c100e (patch) | |
tree | eb5b7126763ec7cafc8c0d4444a1765fadf72c62 /gulpfile.js | |
parent | 286af7d09f6dd20b82510a6239e191ba48500fe9 (diff) | |
parent | d90745b23fb55a0736b56c045e12de4b1b05786f (diff) |
Merge branch 'beta'
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']) -}) |