From 9a421c4754b8fbbe9c2e06e56dbadc6cc1b5246c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 13 Jun 2018 16:54:53 +0200 Subject: [PATCH] fix build --- webpack/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/plugins.js b/webpack/plugins.js index a19bfd87..e1bfb18d 100644 --- a/webpack/plugins.js +++ b/webpack/plugins.js @@ -12,7 +12,7 @@ module.exports = type => { __GLOBAL_STYLES__: JSON.stringify(__GLOBAL_STYLES__), __DEV__, __PROD__, - __SENTRY_URL__: SENTRY_URL, + __SENTRY_URL__: JSON.stringify(SENTRY_URL || null), 'process.env.NODE_ENV': JSON.stringify(__ENV__), }), ]