graffle-js / graffle

Simple GraphQL Client for JavaScript. Minimal. Extensible. Type Safe. Runs everywhere.
http://graffle.js.org/
MIT License
5.86k stars 307 forks source link

Reduce base bundle size #1216

Open jasonkuhrt opened 5 days ago

jasonkuhrt commented 5 days ago

Perceived Problem

The way Graffle is currently built leads to dragging in all/most of graphql package even when its features are not be used (for example: send a document as a string to a GraphQL schema over HTTP).

CleanShot 2024-10-24 at 15 44 50@2x

Ideas / Proposed Solution(s)

jasonkuhrt commented 4 days ago

Basically a sub issue of this https://github.com/graffle-js/graffle/issues/1223