vite-plugin-graphql icon indicating copy to clipboard operation
vite-plugin-graphql copied to clipboard

Difference from @rollup/plugin-graphql

Open IanVS opened this issue 4 years ago • 2 comments

Hello, I was looking for a way to import graphql files in vite, and came across both this plugin and @rollup/plugin-graphql. Since vite can use rollup plugins, I was wondering if you could explain why you created a special vite version, and whether it does anything differently from the rollup plugin.

IanVS avatar Oct 27 '21 13:10 IanVS

it seems like it's pretty much the same thing

fanckush avatar Nov 02 '21 23:11 fanckush

This plugin seems dead and is giving dependency errors with npm 7.

npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^1.0.0-beta.11 || ^1.0.0" from [email protected]
npm ERR! node_modules/vite-plugin-graphql
npm ERR!   dev vite-plugin-graphql@"^0.1.0" from the root project

abitrolly avatar Jul 10 '23 09:07 abitrolly