Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

rollup-plugin-dynamic-import-variables - graphql #199

Open
productdevbook opened this issue Sep 7, 2021 · 2 comments
Open

rollup-plugin-dynamic-import-variables - graphql #199

productdevbook opened this issue Sep 7, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@productdevbook
Copy link
Sponsor Member

Versions

nuxt-vite: 0.2.3
nuxt: 2.15.8

Reproduction


 ERROR  [rollup-plugin-dynamic-import-variables] Unexpected token (1:9)                                                                                                                                                                                                                        16:41:41
file: /graphql/apollo/login.graphql:1:9
mutation loginMutation($email: String!, $password: String!) {
  signIn(data: { email: $email, password: $password }) {
    accessToken
    refreshToken
  }
}

CleanShot 2021-09-07 at 16 42 06

@productdevbook productdevbook added the bug Something isn't working label Sep 7, 2021
@productdevbook
Copy link
Sponsor Member Author

https://github.com/rollup/plugins/tree/master/packages/graphql

@csellis
Copy link

csellis commented Feb 13, 2022

@productdevbook 's solution worked for me

had this issue in SvelteKit, which is built on Vite

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants