diff --git a/src/plugin.ts b/src/plugin.ts index f98fdec..1ea66cb 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -43,7 +43,7 @@ export const plugin: PluginFunction = visit(allAst, { FragmentDefinition: node => { if (filterByDirective(node.directives, config.fragmentRegistryDirective)) { - fragments.push(capitalCase(node.name.value, { delimiter: '' })) + fragments.push(node.name.value) } }, }); @@ -73,4 +73,4 @@ ${fragments.map(fragment => ` 'stackables.webhook.${fragment}': ${fragment}Hand }`) return source.join('\n') -}; \ No newline at end of file +};