@magidoc/rollup-plugin-gql-schema
TypeScript icon, indicating that this package has built-in type declarations

5.0.3 • Public • Published

Magidoc - GraphQL Schema

A Rollup/ViteJS plugin that can both fetch or parse GraphQL schemas and store them locally.

This plugin can be used in any project that uses Rollup/ViteJS, wether it is browser or NodeJS based.

Fetching

When fetching the schema, configuration is available to set custom headers, url, method and output format.

Parsing

When parsing the schema, it is possible to aggregate multiple schema parts into one file using glob patterns and/or custom file paths.

Documentation

For more details on how to use this plugin, see the documentation.

/@magidoc/rollup-plugin-gql-schema/

    Package Sidebar

    Install

    npm i @magidoc/rollup-plugin-gql-schema

    Weekly Downloads

    7,288

    Version

    5.0.3

    License

    MIT

    Unpacked Size

    18.2 kB

    Total Files

    25

    Last publish

    Collaborators

    • pelletier197