UNPKG

@magidoc/rollup-plugin-gql-schema

Version:

A Rollup and ViteJS plugin that allows to parse a GraphQL Schema from a target URL and save it to a target output folder, or to parse it from the disk and convert it to a desired format.

4 lines (3 loc) 209 B
import fetchGraphQLSchema, { fetchSchema } from './rollup/fetch'; import parseGraphQLSchema, { parseSchema } from './rollup/parse'; export { fetchGraphQLSchema, fetchSchema, parseGraphQLSchema, parseSchema };