aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorMark Stacey <markjstacey@gmail.com>2019-07-02 08:26:24 +0800
committerGitHub <noreply@github.com>2019-07-02 08:26:24 +0800
commit9fd8a3d46e2f3320f7eacc654e56f9466196b728 (patch)
tree2522a531f87f071cffba9c2644e991da2ccf04db /gulpfile.js
parent448720327b45470af4ee62ae0ad5649df5a6d8b4 (diff)
downloadtangerine-wallet-browser-9fd8a3d46e2f3320f7eacc654e56f9466196b728.tar.gz
tangerine-wallet-browser-9fd8a3d46e2f3320f7eacc654e56f9466196b728.tar.zst
tangerine-wallet-browser-9fd8a3d46e2f3320f7eacc654e56f9466196b728.zip
Move Browserify transforms to gulpfile (#6768)
The flat tests also rely upon these transformations, yet invoke browserify from the command line rather than using the gulpfile. The transformations have been specified on the command line for those instead. Of course it's not ideal to have the same transformations listed in two different places, but the plan is to delete the flat tests soon anyway, so this should suffice until then. Closes #4538
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 6ea02c52c..40f93f45c 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -501,6 +501,8 @@ function generateBundler (opts, performBundle) {
}
let bundler = browserify(browserifyOpts)
+ .transform('babelify')
+ .transform('brfs')
if (opts.buildLib) {
bundler = bundler.require(opts.dependenciesToBundle)