rishabh3112 / graphql-tag-swc-plugin

SWC plugin to expand gql template literal during build itself
https://www.npmjs.com/package/graphql-tag-swc-plugin
MIT License
15 stars 3 forks source link

feat: add strip feature #10

Closed rishabh3112 closed 7 months ago

rishabh3112 commented 7 months ago

This feature is in parity with strip config feature in babel-plugin-graphql-tag. It passes striped gql string to parser, resulting in smaller AST in some cases + smaller memory footprint in generated code.