From 8639b2858b3894d05657f6b3d17f97377fc9c2de Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 5 Sep 2018 16:07:44 +0200 Subject: [PATCH 1/2] dont load the mobileguide script in riot --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 7c0aa8b488..122facb24b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -130,6 +130,7 @@ module.exports = { // bottom of or the bottom of , and I'm a bit scared // about moving them. inject: false, + excludeChunks: ['mobileguide'], vars: { og_image_url: og_image_url, }, From d10fda36afea35367b98ae246054864c6ca496f4 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 5 Sep 2018 16:38:00 +0200 Subject: [PATCH 2/2] fix config not loading correctly anymore --- src/vector/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/index.js b/src/vector/index.js index cdfef36825..ff6b12856c 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -240,7 +240,7 @@ async function loadApp() { let configJson; let configError; try { - configJson = getVectorConfig(); + configJson = await getVectorConfig(); } catch (e) { configError = e; }