mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 02:01:06 +08:00
Merge pull request #11495 from storybookjs/8096-mdx-ignore-babel-config
Addon-docs: Fix MDX handling to ignore babel.config.js
This commit is contained in:
commit
b205f31183
@ -31,6 +31,7 @@ function createBabelOptions({ babelOptions, mdxBabelOptions, configureJSX }: Bab
|
|||||||
return {
|
return {
|
||||||
// don't use the root babelrc by default (users can override this in mdxBabelOptions)
|
// don't use the root babelrc by default (users can override this in mdxBabelOptions)
|
||||||
babelrc: false,
|
babelrc: false,
|
||||||
|
configFile: false,
|
||||||
...babelOptions,
|
...babelOptions,
|
||||||
...mdxBabelOptions,
|
...mdxBabelOptions,
|
||||||
plugins,
|
plugins,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user