-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Support typescript when parsing GraphQL queries #6335
Conversation
Also extract ast parsing into a utility function
@@ -24,25 +24,7 @@ module.exports = (modulePath, resolver = require.resolve) => { | |||
} | |||
const code = fs.readFileSync(absPath, `utf8`) // get file contents | |||
|
|||
const babylonOpts = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now using the larger set of plugins. Hopefully that's not a problem?
I'm going to be away for two weeks, so please feel free to modify this PR as needed and merge it in. |
Deploy preview for using-drupal ready! Built with commit feae623 |
Deploy preview for gatsbygram ready! Built with commit feae623 |
its working for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
/cc @jquense @m-allanson @pieh look good?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dennari Thanks for your patience with seeing this through. This LGTM 👍
Published as |
Also extract ast parsing into a utility function