issues
search
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: transform based on import source
#4
Closed
rishabh3112
closed
7 months ago
rishabh3112
commented
7 months ago
Handle transforms based on import sources
Items:
[x] Add support for accepting plugin config from users via next / swc config etc - to configure import sources and names
[x] Update TransformVisitor's VisitMut impl to support transforming only those tagged templates which are allowed as per configuration
[x] Updated tests for the same
[x] Add tests for the same
[x] Test this at large project
Handle transforms based on import sources
Items: