plugins icon indicating copy to clipboard operation
plugins copied to clipboard

GraphQL Plugin type not compatible with rollup 2.78.0+

Open art-boer opened this issue 3 years ago • 3 comments

  • Rollup Plugin Name: @rollup/plugin-graphql
  • Rollup Plugin Version: 1.1.0
  • Rollup Version: 2.78.0
  • Operating System (or Browser): Mac OS
  • Node Version: v16.15.0
  • Link to reproduction: https://stackblitz.com/edit/nuxt-starter-ohu5c6?file=nuxt.config.ts (hover the graphql plugin in the config)

Expected Behavior

Compatible Plugin type

Actual Behavior

Type 'Plugin' is not assignable to type 'PluginOption'. Type 'Plugin' is not assignable to type 'Plugin_2'. Types of property 'resolveId' are incompatible.

art-boer avatar Aug 16 '22 11:08 art-boer

Same here.

liqueflies avatar Aug 22 '22 12:08 liqueflies

@liqueflies please do not comment with "me too" type replies. instead, use the reaction buttons to indicate support.

shellscape avatar Aug 22 '22 13:08 shellscape

@shellscape 🙏 got-it you're right. Sorry!

liqueflies avatar Aug 22 '22 13:08 liqueflies

This happens with all rollup plugins inside vite configs

leonheess avatar Oct 18 '22 12:10 leonheess

Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it.

stale[bot] avatar Dec 23 '22 19:12 stale[bot]

Was there ever a solution to this or is this an error that should just be ignored as long as everything is working correctly?

mbcombes avatar Feb 06 '23 18:02 mbcombes

I believe your answer is here: https://github.com/vitejs/vite/issues/10081#issuecomment-1243472115

jorisw avatar Feb 20 '24 14:02 jorisw