mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
Don't mutate user's babel config (#6987)
Don't mutate user's babel config
This commit is contained in:
commit
477f990494
@ -46,7 +46,7 @@ function loadFromPath(babelConfigPath) {
|
||||
throw error.js;
|
||||
}
|
||||
|
||||
config.babelrc = false;
|
||||
config = { ...config, babelrc: false };
|
||||
}
|
||||
|
||||
if (!config) return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user