Follow references when loading documents with CodeFileLoader #7918
Unanswered
openscript
asked this question in
Q&A
Replies: 1 comment
-
|
I am not sure what you mean by "references"? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Gatsby is loading some documents via the
CodeFileLoaderhere. I've been takinggatsby-node.tsapart into different files. They all export a function and in thegatsby-node.tsI'm awaiting for them:So the
CoeFileLoadersearches ingatsby-node.tsforgraphqlusages, but it doesn't follow the references. Here for example toCreateGenericPages. Is there any possibility to make it follow these references or is the approach to let it search the wholesrcanyway?Beta Was this translation helpful? Give feedback.
All reactions