-
Notifications
You must be signed in to change notification settings - Fork 21
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 absolute imports than only relative #36
Comments
vinhlh
changed the title
Support absolute import than only relative
Support absolute imports than only relative
Oct 4, 2018
this is a killer for me, I have a mono-repo setup and it isn't finding my graphql imports |
same issue for me, especially you need to import fragment which located in different folder as query file, that would be the hell |
evenchange4
pushed a commit
that referenced
this issue
Jan 24, 2019
Resolves #36. About NODE_PATH, we use to have this setting with projects created via create-react-app. cc @evenchange4
Would it be possible to handle absolute imports using tsconfig as well? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like currently we only support relative paths https://github.com/evenchange4/graphql.macro/blob/master/src/macro.js#L31
The text was updated successfully, but these errors were encountered: