vite-plugin-graphql
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

vite-plugin-graphql

Similar to graphql-tag/loader, but for vite.

Installation

npm i vite-plugin-graphql
yarn add vite-plugin-graphql
pnpm i vite-plugin-graphql

Usage

const graphqlPlugin = require('vite-plugin-graphql');
 
const config = {
  plugins: [graphqlPlugin],
};

Now all the files ends with .gql or .graphql will be handled by vite-plugin-graphql.

Readme

Keywords

Package Sidebar

Install

npm i vite-plugin-graphql

Weekly Downloads

1,050

Version

0.1.0

License

MIT

Unpacked Size

6.85 kB

Total Files

5

Last publish

Collaborators

  • foisonocean