RevereCRE / relay-nextjs

⚡️ Relay integration for Next.js apps
https://reverecre.github.io/relay-nextjs/
MIT License
251 stars 30 forks source link

docs: Add artifactDirectory configuration description #44

Closed ergofriend closed 2 years ago

ergofriend commented 2 years ago

When I added relay-nextjsto existing nextjs project, I got below error.

> Build error occurred
Error: Build optimization failed: found page without a React Component as default export in 
pages/__generated__/pages_HomeQuery.graphql

So I added artifactDirectory configuration description to Installation and Setup docs.