From deebda3bfff2326ec827f51dc35ff91a542ac935 Mon Sep 17 00:00:00 2001 From: tihonove Date: Sun, 5 Nov 2017 17:02:28 +0500 Subject: [PATCH] Disable hot loader for production --- .babelrc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.babelrc b/.babelrc index fda30a800..f0ebe04e4 100644 --- a/.babelrc +++ b/.babelrc @@ -10,7 +10,16 @@ "stage-0", "react" ], - "plugins": [ - "react-hot-loader/babel" - ] -} \ No newline at end of file + "env": { + "development": { + "plugins": [ + "react-hot-loader/babel" + ] + }, + "storybook": { + "plugins": [ + "react-hot-loader/babel" + ] + } + } +}