vite-plugin-graphql
vite-plugin-graphql copied to clipboard
Difference from @rollup/plugin-graphql
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.
it seems like it's pretty much the same thing
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