aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 5a468d2f3..0a0e3b3d5 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -462,7 +462,9 @@ function generateBundler (opts, performBundle) {
bundler.transform(envify({
METAMASK_DEBUG: opts.devMode,
NODE_ENV: opts.devMode ? 'development' : 'production',
- }))
+ }), {
+ global: true,
+ })
if (opts.watch) {
bundler = watchify(bundler)