{"library":"vite-plugin-graphql-loader","type":"library","category":null,"description":"A Vite plugin for loading GraphQL .gql and .graphql files, based on the webpack graphql-tag/loader. Current version 5.0.1 requires graphql ^16.0.0 and supports Vite 5, 6, 7, and 8 as peer dependencies. Ships TypeScript types, provides default and named imports of DocumentNode objects, and handles fragment deduplication and source maps. Unlike vite-plugin-graphql-codegen, it does not generate TypeScript definitions from queries.","language":"javascript","status":"active","version":"5.0.1","tags":["javascript","graphql","graphql-tag","vite","vite-plugin","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-graphql-loader","imports":["import graphqlLoader from 'vite-plugin-graphql-loader'","import ExampleQuery from './example.graphql'","import { MyQuery, MyFragment } from './example.graphql'","import Doc, { _queries, _fragments } from './example.graphql'"]},{"cmd":"yarn add vite-plugin-graphql-loader","imports":[]},{"cmd":"pnpm add vite-plugin-graphql-loader","imports":[]}],"homepage":null,"github":"https://github.com/0x31/vite-plugin-graphql-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-graphql-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}