-
Notifications
You must be signed in to change notification settings - Fork 34
reExportDataFetching not working as expected #85
Comments
Could you check and see if #84 solves this issue? |
It would, because I'd no longer need to set |
Thank you, that would be super helpful! |
.
results in getStaticProps
error
So the dot-notation was a red herring, this issue seems to happen whenever I add a Here is my project structure where I'm hitting the issue https://github.com/newhighsco/jarvenis.com/tree/feat/use-mdx. I'm currently refactoring to use MDX. I followed the test fixtures at https://github.com/hashicorp/next-mdx-enhanced/tree/master/__tests__/fixtures/layout-exports-ssg, but run into the same issue even if my layouts are at the root of my project or under |
@jescalan got a working example anywhere I could reference? |
I can look into this further this week, or you are welcome to open a PR and do so! |
The following config:
Results in the following error when trying to export
getStaticProps
from a layout:ChanginglayoutPath
to 'src/layouts` solved this issue for me, but wanted to warn anyone else who may fall into this issueThe text was updated successfully, but these errors were encountered: