ts-transform-graphql-tag
JSON →A TypeScript custom transformer that compiles GraphQL tagged template strings (gql) at build time using graphql-tag. Version 0.2.1 is the latest stable release; no frequent updates. Key differentiators: reduces bundle size by removing graphql-tag dependency (~50 KB), speeds up runtime initialization, and works with Webpack (awesome-typescript-loader, ts-loader) and FuseBox. It removes imports of graphql-tag and replaces gql`...` with compiled AST objects. Only supports TypeScript; alternatives include babel-plugin-graphql-tag for Babel users.
Resources
packagets-transform-graphql-tag ↗