diff options
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, }) |