Preparing for system design interviews?  Try bugzed.com →

babel-plugin-transform-minify-gql-template-literals

JSON →
library 1.1.1 ·javascript maintenance
verified Jun 17, 2026

A Babel plugin that minifies gql template literals by removing whitespace, comments, and unnecessary characters from GraphQL queries defined inline with the gql tag. Compatible with Babel 6 and 7 (used in many projects still). Current stable version 1.1.1, no active development seen since 2019. Uses simple string manipulation (full name removal) rather than parsing with graphql-js, making it lightweight and fast. This approach avoids bundle size increases from AST pre-compilation while still reducing payload. Alternative to graphql-tag/loader for those who inline queries.

total hits 11
actors 4 distinct systems
last hit 17d ago AhrefsBot
GPTBot
4
ByteDance
2
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany