Skip to content

Commit

Permalink
Merge pull request #11495 from storybookjs/8096-mdx-ignore-babel-config
Browse files Browse the repository at this point in the history
Addon-docs: Fix MDX handling to ignore babel.config.js
  • Loading branch information
shilman authored Jul 10, 2020
2 parents 57e5092 + f8ac6b0 commit b205f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/docs/src/frameworks/common/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function createBabelOptions({ babelOptions, mdxBabelOptions, configureJSX }: Bab
return {
// don't use the root babelrc by default (users can override this in mdxBabelOptions)
babelrc: false,
configFile: false,
...babelOptions,
...mdxBabelOptions,
plugins,
Expand Down

0 comments on commit b205f31

Please sign in to comment.