apollo
apollo copied to clipboard
Can we import gql dynamically to reduce bundle size?
Is your feature request related to a problem? Please describe. Smaller bundle size
Describe the solution you'd like A clear and concise description of what you want to happen.
I would like to replace the import import gql from 'graphql-tag' with a dynamic import in order to load it on demand.
The main reason is: Import graphql-tag adds 33kb to the bundle size. I personally do not even use this features and I assume quite a few others.
Describe alternatives you've considered None