babel-plugin-graphql-tag
babel-plugin-graphql-tag copied to clipboard
Cannot find module 'graphql-tag'
I am currently using urql client to handle my graphQL needs and I am using this plugin to optimize the gql queries. I have the following config on my babel.config.js file:
module.exports = {
presets: [
'@vue/app',
],
plugins: [
// reference: https://www.apollographql.com/docs/react/performance/babel/#using-babel-plugin-graphql-tag
['graphql-tag',
{
importSources: ['@urql/core'],
},
],
],
};
I dont have the graphql-tag dependency directly installed since urql has its own version.
How do you recommend I procceed?