Print an AST with as little whitespace as possible
npm install @apollo/utils.printwithreducedwhitespacePrints a GraphQL AST with a minimal amount of whitespace. Consider using thestripIgnoredCharacters function from graphql instead of this function.
``ts
import { printWithReducedWhitespace } from "@apollo/utils.operationregistrysignature";
const signature = operationRegistrySignature(
parse(#graphql
query Foo {
bar
}
),``
"Foo",
{ preserveStringAndNumericLiterals: true },
);