DEV Community

Discussion on: How to resolve import for the .graphql file with typescript and webpack

Collapse
 
qortex profile image
Michael Monerau

Taken from the docs:

It comes with a loader easy to setup and with some benefits:

  1. Do not process GraphQL ASTs on client-side
  2. Enable queries to be separated from logic
Collapse
 
lishine profile image
Pavel Ravits

This link is about wepback with client

Thread Thread
 
qortex profile image
Michael Monerau

Ah right, didn't pay attention since I use it client-side. So only second point might apply in a server environment.