vite
vite copied to clipboard
rollup-plugin-dynamic-import-variables - graphql
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
}
}
https://github.com/rollup/plugins/tree/master/packages/graphql
@productdevbook 's solution worked for me
had this issue in SvelteKit, which is built on Vite