rollup-plugin-graphql

JSON →
library 0.1.0 ·javascript
verified Jun 7, 2026

Converts GraphQL (.graphql) files into ES6 modules for use with Rollup bundler. Version 0.1.0 has infrequent releases. Minimal plugin with no additional features beyond file-to-module conversion, contrasting with more feature-rich alternatives like graphql-tag/loader. Only supports GraphQL documents, not fragments or operations separately. Requires peer dependency graphql ^0.9.0 or ^0.10.0. Limited to Rollup; not compatible with other bundlers.