Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docz-core): index.tsx imports in index.mdx #1168

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

Kerumen
Copy link
Contributor

@Kerumen Kerumen commented Oct 8, 2019

Description

Attempt to fix #1164

It seems that if we put gatsby-plugin-mdx (set in gatsby-theme-docz) AFTER gatsby-plugin-typescript, it fixes the problem.

I've looked at another Gatsby starter with TypeScript and MDX and they do the same.

I don't know the side-effects but I've tested the typescript example and it works fine.

@jesperorb
Copy link

@Kerumen Thanks for opening up a PR. :) I will check out the branch and test it as well.

@rakannimer rakannimer merged commit bcbd462 into doczjs:master Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when importing index.tsx from index.mdx
3 participants