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 noticed that ts-graphql-plugin should work with webpack's ts-loader, and thus it should've been compatible with tsconfig.json approach. But looks like it's not working there (maybe it's just not working with the latest version of TypeScript?) - the error shown is TypeError: transformer.transformSourceFile is not a function at node_modules/typescript/lib/typescript.js:93958:109 when using e.g. this file:
Hi.
There is https://github.com/cevek/ttypescript project which allows to use transformers in tsconfig.json (i.e. without webpack).
I noticed that ts-graphql-plugin should work with webpack's ts-loader, and thus it should've been compatible with tsconfig.json approach. But looks like it's not working there (maybe it's just not working with the latest version of TypeScript?) - the error shown is
TypeError: transformer.transformSourceFile is not a function at node_modules/typescript/lib/typescript.js:93958:109
when using e.g. this file:P.S.
Here is an example of transformers we use in our project:
The text was updated successfully, but these errors were encountered: