0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.44k stars 34 forks source link

fix(cli-utils): vue losing the graphql call due to missing sfc plugin #305

Closed JoviDeCroock closed 1 month ago

JoviDeCroock commented 1 month ago

Summary

It looks like another breaking change apart from the rename to getBasePlugins is that we stopped using vue-sfc by default which means that we lose out on variables declared in the global scope. This addresses that by pushing this to the plugins array again.

Currently seeing whether it would be safer to use createVueLanguagePlugin instead

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 7f24cf3007aef2ebe59af8156dbe0aa22b386105

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR