diff --git a/plugins/woocommerce-blocks/storybook/main.js b/plugins/woocommerce-blocks/storybook/main.js index 71a8506123d..ce3154ea82f 100644 --- a/plugins/woocommerce-blocks/storybook/main.js +++ b/plugins/woocommerce-blocks/storybook/main.js @@ -30,6 +30,7 @@ module.exports = { include: /node_modules/, type: 'javascript/auto', } ); + config.externals = [ 'react-dom/client' ]; return config; }, };