Closed jagadish-k closed 2 months ago
Thanks for opening this issue! A maintainer will review it soon.
Thank you for sharing this @jagadish-k, I'll inform the team of this. it's definitely a weird error.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.
I have the same problem
out of curiosity, was this fixed ?
Facing the issue as well. Loader won't load gql modules.
"graphql": "^16.9.0",
"graphql-tag": "^2.12.6",
"next": "14.2.4",
What version of
million
are you using?0.0.73
Are you using an SSR adapter? If so, which one?
No
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
I added Millionlint into my Next.js application that uses graphql with apollo client. Whenever I access a component/page that imports a
.graphql
file, I get the errorChanging this line in next.config.mjs
back to the original
restores the functionality of the application. It works as expected when I access pages that do not need the graphql files for fetching any data.
Complete
next.config.js
What's the expected result?
The modified config should build on top of the existing config for the application. The configured loader for
.graphql
files should work.Link to Minimal Reproducible Example
https://github.com/jagadish-k/nextjs-graphql-millionlint
Participation