You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started using this library and this stumped me for a short while. Just wanted to point out that the code filtering out index.js and index.ts is a bit more general than what the README states and will filter out any file named index. It just so happened that my graphql schema files were named index.graphql.
@sonyseng Would be happy to accept a PR if you would like to contribute. 🙌 You could update the documentation to make this behaviour more clear to anyone using the pkg.
We potentially could also accept a PR if given some thought as well to change the behaviour you described above.
I just started using this library and this stumped me for a short while. Just wanted to point out that the code filtering out
index.js
andindex.ts
is a bit more general than what the README states and will filter out any file namedindex
. It just so happened that my graphql schema files were namedindex.graphql
.file_loader.js
The text was updated successfully, but these errors were encountered: