From 82dcf057b6b118127fe07e43a22bcf4c82a328a3 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 1 Mar 2019 21:09:23 +0100 Subject: [PATCH] FIX https://github.com/storybooks/storybook/issues/5788 --- lib/core/src/server/preview/iframe-webpack.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/core/src/server/preview/iframe-webpack.config.js b/lib/core/src/server/preview/iframe-webpack.config.js index 26a95c60c88c..3cb4ac5e0fdb 100644 --- a/lib/core/src/server/preview/iframe-webpack.config.js +++ b/lib/core/src/server/preview/iframe-webpack.config.js @@ -81,7 +81,6 @@ export default ({ resolve: { extensions: ['.mjs', '.js', '.jsx', '.json'], modules: ['node_modules'].concat(raw.NODE_PATH || []), - mainFields: ['browser', 'main', 'module'], alias: { 'core-js': path.dirname(require.resolve('core-js/package.json')), ...reactPaths,