diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-05 05:39:32 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-05 05:39:32 +0800 |
commit | 055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6 (patch) | |
tree | ed0595e1f8e33e0007fe775819c035ab25b0cfdd | |
parent | bc623bbe345a9528f9fe19af2e2440540d8e70a7 (diff) | |
download | tangerine-wallet-browser-055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6.tar tangerine-wallet-browser-055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6.tar.gz tangerine-wallet-browser-055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6.tar.bz2 tangerine-wallet-browser-055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6.tar.lz tangerine-wallet-browser-055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6.tar.xz tangerine-wallet-browser-055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6.tar.zst tangerine-wallet-browser-055ef5d8fe6ccefbc4229bcb05bad2e8c5cd97d6.zip |
Add babelify to gulp build
-rw-r--r-- | gulpfile.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index 26ad0c1f8..4d4fcaeee 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,5 +1,6 @@ var watchify = require('watchify') var browserify = require('browserify') +var babelify = require('babelify') var gulp = require('gulp') var source = require('vinyl-source-stream') var buffer = require('vinyl-buffer') @@ -226,6 +227,9 @@ function bundleTask(opts) { }) var bundler = browserify(browserifyOpts) + bundler.transform(babelify.configure({ + presets: ['es2015'], + })) bundler.transform('brfs') if (opts.watch) { bundler = watchify(bundler) |