From b907b9e8143342268b157036e0d0e69b4f1ca35a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Palkovi=C4=8D?= Date: Wed, 6 Apr 2022 13:54:34 +0200 Subject: [PATCH] Fix corrupted webpack configuration --- app/react/src/server/framework-preset-react-dom-hack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/src/server/framework-preset-react-dom-hack.ts b/app/react/src/server/framework-preset-react-dom-hack.ts index 6f32f3f1c17..9d5268f3594 100644 --- a/app/react/src/server/framework-preset-react-dom-hack.ts +++ b/app/react/src/server/framework-preset-react-dom-hack.ts @@ -17,6 +17,6 @@ export async function webpackFinal(config: Configuration) { resourceRegExp: /react-dom\/client$/, contextRegExp: /(app\/react|@storybook\/react)/, // TODO this needs to work for both in our MONOREPO and in the user's NODE_MODULES }), - ], + ].filter(Boolean), }; }