From 040bc239a2c393c041f856d4d5a3986d3cac7f85 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 26 Mar 2018 18:13:39 +0300 Subject: [PATCH] chore: fix hot realoding in playground --- demo/webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/webpack.config.ts b/demo/webpack.config.ts index b97b7631..b646e6f4 100644 --- a/demo/webpack.config.ts +++ b/demo/webpack.config.ts @@ -33,7 +33,7 @@ const babelLoader = mode => ({ '@babel/plugin-syntax-typescript', '@babel/plugin-syntax-decorators', '@babel/plugin-syntax-jsx', - mode === 'production' ? 'react-hot-loader/babel' : undefined, + mode !== 'production' ? 'react-hot-loader/babel' : undefined, [ 'babel-plugin-styled-components', {