Skip to content

Commit

Permalink
Transpile gatsby-plugin-mdx with Babel for theme (#756)
Browse files Browse the repository at this point in the history
Unclear whether this is a steadfast solution or a patch for the issue of
having ES6+ code in a npm dependency, but for now it allows the docs
site to be run locally.

Ref: gatsbyjs/gatsby#3780
Ref: #542
  • Loading branch information
indiesquidge authored and johno committed Aug 30, 2019
1 parent 7855779 commit 5e26a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-theme-mdx/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
{
resolve: 'gatsby-plugin-compile-es6-packages',
options: {
modules: ['gatsby-theme-mdx']
modules: ['gatsby-theme-mdx', 'gatsby-plugin-mdx']
}
},
{
Expand Down

1 comment on commit 5e26a20

@vercel
Copy link

@vercel vercel bot commented on 5e26a20 Aug 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.