{"library":"babel-plugin-graphql-query-minifier","type":"library","category":null,"description":"A babel plugin that minifies GraphQL query strings at compile time by removing unnecessary whitespace, newlines, and ensuring compact syntax. Current version 0.0.2, released once. Key differentiators: (1) WASM-based core makes it 3x faster than alternatives like babel-plugin-transform-compress-graphql, (2) removes more characters (e.g., spaces after argument types and fragment spreads) resulting in smaller bundles, (3) supports both tagged template literals (default `gql`) and magic comments (default `/* graphql */`) with customizable patterns. Suitable for optimizing GraphQL strings in JavaScript/TypeScript projects during bundling.","language":"javascript","status":"active","version":"0.0.2","tags":["javascript","graphql","babel-plugin","minifier","babel"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install babel-plugin-graphql-query-minifier","imports":["module.exports = ... // not imported by user; configured as a babel plugin"]},{"cmd":"yarn add babel-plugin-graphql-query-minifier","imports":[]},{"cmd":"pnpm add babel-plugin-graphql-query-minifier","imports":[]}],"homepage":"https://github.com/Solo-steven/rustgql","github":"https://github.com/Solo-steven/rustgql","docs":null,"changelog":null,"pypi":null,"npm":"babel-plugin-graphql-query-minifier","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}