mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
Fix breaking changing process/browser
This commit is contained in:
parent
16678e0538
commit
d443c73ba3
@ -214,7 +214,7 @@ export default async (options: Options & Record<string, any>): Promise<Configura
|
||||
...stringifyProcessEnvs(envs),
|
||||
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
|
||||
}),
|
||||
new ProvidePlugin({ process: 'process/browser' }),
|
||||
new ProvidePlugin({ process: 'process/browser.js' }),
|
||||
isProd ? null : new WatchMissingNodeModulesPlugin(nodeModulesPaths),
|
||||
isProd ? null : new HotModuleReplacementPlugin(),
|
||||
new CaseSensitivePathsPlugin(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user