From ed54a8ec527a3c3176372936b6424f8ebc75a6ae Mon Sep 17 00:00:00 2001 From: Weyert de Boer Date: Tue, 31 Dec 2019 14:38:45 +0000 Subject: [PATCH] fix: update babel.js to disable simplify A small fix to disable the simplify-feature of the babel's minify plugin as it stops the compilation of the storybook static build. --- lib/core/src/server/common/babel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/src/server/common/babel.js b/lib/core/src/server/common/babel.js index e942fbc74b25..b35313b910dc 100644 --- a/lib/core/src/server/common/babel.js +++ b/lib/core/src/server/common/babel.js @@ -5,6 +5,7 @@ function createProdPresets() { { builtIns: false, mangle: false, + simplify: false }, ], ];