You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using webpack-graphql-loader together with graphql-codegen. These tools are using different graphql-import syntax, which means they can't be used together.
I think webpack-graphql-loader uses the non-standard import "./filenamegraphql"
vs the standard (maybe not "standard", but definitely more common) syntax import * from "./filenamegraphql"
Could you please add support for the ESM-like syntax? Or consider using ESM-like syntax by default (this would result in a breaking change).
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I'm using webpack-graphql-loader together with graphql-codegen. These tools are using different graphql-import syntax, which means they can't be used together.
I think webpack-graphql-loader uses the non-standard
import "./filenamegraphql"
vs the standard (maybe not "standard", but definitely more common) syntax
import * from "./filenamegraphql"
Could you please add support for the ESM-like syntax? Or consider using ESM-like syntax by default (this would result in a breaking change).
Thank you!
The text was updated successfully, but these errors were encountered: