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
Based on the linked docs, it seems like this writes the generated files outside of the pages directory, then the Next.js server redirects the request somehow.
maybe in the implementation of getRecursiveTree or contextModuleToFileNodes we could add a filter for an excludePaths array, but we would also need to remove these files from the bundle
expo
locked and limited conversation to collaborators
Feb 9, 2023
the generated folder is from relay compiler, which always create the codegen close to the route which uses GraphQL query.
the way next.js handles this is to add a property for the ignored folder name:
https://nextjs.org/docs/advanced-features/compiler#relay
Can we have something like this here?
I think, maybe we can make it an array, so we can have multiple paths being ignored rather than just ignoring the codegen folder.
The text was updated successfully, but these errors were encountered: