From c405576bb04da8de583d58f38d532b7146872f6b Mon Sep 17 00:00:00 2001
From: Alf Eaton <eaton.alf@gmail.com>
Date: Thu, 19 Oct 2017 16:42:19 +0100
Subject: [PATCH] Remove unused CONFIG mock

---
 packages/xpub-styleguide/src/webpack-config.js | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/packages/xpub-styleguide/src/webpack-config.js b/packages/xpub-styleguide/src/webpack-config.js
index 6fb01a12b..6f9f0f79a 100644
--- a/packages/xpub-styleguide/src/webpack-config.js
+++ b/packages/xpub-styleguide/src/webpack-config.js
@@ -25,13 +25,8 @@ module.exports = dir => {
     //   whitelist: [/\.(?!js$).{1,5}$/i]
     // })],
     plugins: [
-      // mock CONFIG
+      // mock constants
       new webpack.DefinePlugin({
-        CONFIG: {
-          'pubsweet-client': {
-            API_ENDPOINT: JSON.stringify('/')
-          }
-        },
         PUBSWEET_COMPONENTS: '[]'
       }),
     ],
-- 
GitLab