diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2019-02-26 03:10:13 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-26 03:10:13 +0800 |
commit | f507f2a92710285679123c9429a37c9e330c7cac (patch) | |
tree | 30225a55e9d8fc273304f4e2548413a08f008aef /gulpfile.js | |
parent | fdc7eb211340b3af035a7f7c023155a8f1b1675d (diff) | |
download | tangerine-wallet-browser-f507f2a92710285679123c9429a37c9e330c7cac.tar.gz tangerine-wallet-browser-f507f2a92710285679123c9429a37c9e330c7cac.tar.zst tangerine-wallet-browser-f507f2a92710285679123c9429a37c9e330c7cac.zip |
Feature Flag + Mobile Sync (#5955)
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index 31888faac..c672a9eff 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -304,6 +304,7 @@ createTasksForBuildJsMascara({ taskPrefix: 'dev:mascara:js', devMode: true }) function createTasksForBuildJsUIDeps ({ dependenciesToBundle, filename }) { const destinations = browserPlatforms.map(platform => `./dist/${platform}`) + const bundleTaskOpts = Object.assign({ buildSourceMaps: true, sourceMapDir: '../sourcemaps', @@ -512,6 +513,8 @@ function generateBundler (opts, performBundle) { bundler.transform(envify({ METAMASK_DEBUG: opts.devMode, NODE_ENV: opts.devMode ? 'development' : 'production', + PUBNUB_SUB_KEY: process.env.PUBNUB_SUB_KEY || '', + PUBNUB_PUB_KEY: process.env.PUBNUB_PUB_KEY || '', }), { global: true, }) |