Open
Description
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:
const getTransformer = require('ts-graphql-plugin/lib/transformer/transformer').getTransformer;
module.exports = getTransformer({});
P.S.
Here is an example of transformers we use in our project:
Metadata
Metadata
Assignees
Labels
No labels