Turbopack graphql
Unanswered
Mississippi Kite posted this in #help-forum
Mississippi KiteOP
has anyone used turbopack with graphql files? I have webpack with the graphql-tag/loader loader and was looking at https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders
I added something like :
But I still get :
Unknown module type
This module doesn't have an associated type. Use a known file extension, or register a loader for it.
Any ideas?
I added something like :
turbo: {
rules: {
'*.gql': {
loaders: ['graphql-tag/loader'],
},
},
},
But I still get :
Unknown module type
This module doesn't have an associated type. Use a known file extension, or register a loader for it.
Any ideas?