Fix Storybook after webpack 5 upgrade (https://github.com/woocommerce/woocommerce-blocks/pull/11456)
This commit is contained in:
parent
76cb3fa7e8
commit
a1a6b2130f
|
@ -30,6 +30,7 @@ module.exports = {
|
||||||
include: /node_modules/,
|
include: /node_modules/,
|
||||||
type: 'javascript/auto',
|
type: 'javascript/auto',
|
||||||
} );
|
} );
|
||||||
|
config.externals = [ 'react-dom/client' ];
|
||||||
return config;
|
return config;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue