mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge pull request #17946 from storybookjs/fix-17926-react-dom-client-windows-issue
fix: Support react-dom/client dom hack on Windows machines
This commit is contained in:
commit
80df766292
@ -15,7 +15,7 @@ export async function webpackFinal(config: Configuration) {
|
||||
? null
|
||||
: new IgnorePlugin({
|
||||
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
|
||||
contextRegExp: /(app\/react|app\\react|@storybook\/react|@storybook\\react)/, // TODO this needs to work for both in our MONOREPO and in the user's NODE_MODULES
|
||||
}),
|
||||
].filter(Boolean),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user