Skip to content
Discussion options

You must be logged in to vote

Yes, and no. Let me elaborate. 😅

Is it easly possible to bundle nothing from graphql? Absolutely not. There are several things that you could alias away to get rid of them, sure, but ultimately there are some dependencies that are more or less important. But that's not a bad thing. Let me explain how this makes sense, what you can do, and what makes sense to do.

The dependencies in @urql/core you'll see are:

import { GraphQLError } from "graphql/error/GraphQLError.mjs";
import { parse } from "graphql/language/parser.mjs";
import { print } from "graphql/language/printer.mjs";
import { Kind } from "graphql/language/kinds.mjs";

Here we can see the entrypoints of what is used on a basic level…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kitten
Comment options

@kitten
Comment options

@kitten
Comment options

@Schniz
Comment options

Answer selected by Schniz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants