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', {