{"_id":"@rollup/plugin-graphql","_rev":"11-e36369b91e0a5408576d523da56574b6","name":"@rollup/plugin-graphql","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"@rollup/plugin-graphql","version":"1.0.0","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@1.0.0","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"babel":{"compileEnhancements":false},"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"dist":{"shasum":"5d5f168ec7d7c2180d75d0a67be31eb3c9379498","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-1.0.0.tgz","fileCount":8,"integrity":"sha512-AxeXpotdweLUh9M8p8Cr4x0SQOCJHogntW5NmZeIQ0KT1Bj7SI88aokagn3tjBCr+uTkoeLnsSH0qE4hKydpMg==","signatures":[{"sig":"MEYCIQCn5AqY1o+nOFcwhdYMDqOYUhGl2BmbmkcK5IfLMcg0agIhAMRV78ZxyooCZp0T48O8TxBqjNvogTkEu0IZTW9GCqze","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl4dCCRA9TVsSAnZWagAA6dcP/jRUkJqgGHsAJetThQTu\nEd8nByOfFVfcc85TpxttuvBqZcmUJKmv92lNybGzUN8GCrdFDwwkTH5AGrbK\nkxd7rId8eGB3qZUFR2qsTcCl7g5UOTzuilES1Gh9EFSQfocwGtM5/MWjK+yd\nOmpNKeZrXjSvZvmUk1kOtWSmqze3t98slpy/CrnAZU2E0yZrlnCffNLLneqY\nufx7TPBOS5eizfsWFF1lJGVvG7LE4BZq/fn7UQFS9sJCz/2h/ApkYwaqcU3f\n/qaMi5b/J9LbFo26qcalT64o94NN+NNqmaNAgODohUI5MfZ0YlqnmuZKip+T\nbQCBBWT8OTG/13lPv5eoKw769RfSshWBgHQrXENLe9nJs4FCnDuY01AW1TvX\nIz92Du7FaKznm8nXqXAyvRZN+9chzD8JO2Xnmjj1/ErOeLXQWbQEyP4K0xTj\nNWybKwR3b9QyV84oH/K9PjPx0f4d2ywqPqdMZyx6GBq7UEntlH0RwR2SqLv9\n/eoVvd8qTaS8d1lI6rNfyoHKsHbLWqu4mc9jqB3PkC2gpVPw12Ika3i3952+\nzNLCUOhiOYbIQ8skRzYK7pVEQXcsmQcBGPn24cVHE8daUgpR9JoTjkIc/wNn\nt9MVpTFwDx0qhN2cCSxNXkjvzzReS0jfRMmxqozErlUJrF+dZXyyHC3TF5U6\no69d\r\n=ItCz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"types/index.d.ts","module":"dist/index.es.js","scripts":{"lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:graphql && pnpm run lint:package","test":"ava","build":"rollup -c","ci:lint":"pnpm run build && pnpm run lint","ci:test":"pnpm run test -- --verbose && pnpm run test:ts","lint:js":"eslint --fix --cache src test types --ext .js,.ts","prepare":"pnpm run build","pretest":"pnpm run build","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist","lint:docs":"prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prepublishOnly":"pnpm run lint && pnpm run test","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"repository":{"url":"git+https://github.com/rollup/plugins.git","type":"git"},"_npmVersion":"6.14.5","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"12.18.1","dependencies":{"graphql-tag":"^2.2.2","@rollup/pluginutils":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.23.0","graphql":"^14.1.1","@rollup/plugin-buble":"^0.21.3"},"peerDependencies":{"rollup":"^1.20.0 || ^2.0.0","graphql":">=0.9.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_1.0.0_1603766081773_0.12118625104890213","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@rollup/plugin-graphql","version":"1.1.0","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@1.1.0","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"babel":{"compileEnhancements":false},"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"dist":{"shasum":"492f579816f65bc21ce26394f2f140d95192622d","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-1.1.0.tgz","fileCount":8,"integrity":"sha512-X+H6oFlprDlnO3D0UiEytdW97AMphPXO0C7KunS7i/rBXIGQRQVDU5WKTXnBu2tfyYbjCTtfhXMSGI0i885PNg==","signatures":[{"sig":"MEUCIQC4VebK02V4/39rEw0QcgNziPdaKuD7wZDTezHX14Ds/wIgdDTNgv6Xt+SzFH8hrtSdyGabTXm1W453uGJ5lQtCoyg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2ZInCRA9TVsSAnZWagAA3Y4P/RhNDMfZ5k7ULflLn88E\nrMJpn4Am+FoXxaJ9J132HKL4K/wAKsV3PanAbT3wNlSILcNnxqp4nQaqF5MN\nK8NumX2zOjx7yZfQhGm1B/tvixH0utiJItIHr7wct7e9LqjvbjQfBsq1+ea8\nghQoneEezck2fai1CU3yyHKTbF9HKPL1GxilIrP0u1CQsUHI6fX9AqV/YPSA\nl7PyWELxcYTk2CvCV/2hAzmZA7UcjWZfSjESfGuPsB/ZgwSJ+ZHfppAQ/JTB\nSb5Tm4wF9Tc2yLOBAUM4cmhNWQH3NS6cmlgOw2ANs7rfudFnw9MNLyEoAjFU\nWIupL1WnxDf6h/QoDi7tVvp3wcN94R2kFDlJssSdwovBvuTe8SrZ/SOW/1EM\nUM9MDphBIt2sKwthg7U3DSvmve09gkNfKHdpu/i0hK09AzVYYmqgogLWEmYT\nOUfGZZHtDIEv6oOHzJTzVtX7P/qpayLAEjMnr8qQTg0ASLoGx9iBAwpwH739\nTspUMVbUEVg/0BKzzA1qO2MZVtbRgUqm0qLoB66Z8RLRPfY2V4E4HpZ5lX8f\ng50BqIAueTt+dWpMrztDaoA6zbcCum2+NtmpxwlKoNdIgw1p9vq3UIwHKe+x\nbwBi5GQ7EEptdAkU5A9ZzZnzPKDczLMZerskngqNtisw4uPqVOHecajuavnC\n1T4s\r\n=szzX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"types/index.d.ts","module":"dist/index.es.js","scripts":{"test":"ava","build":"rollup -c","ci:lint":"pnpm build && pnpm lint","ci:test":"pnpm test -- --verbose && pnpm test:ts","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","pretest":"pnpm build","release":"pnpm plugin:release --workspace-root -- --pkg $npm_package_name","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"_npmVersion":"6.14.15","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"14.18.1","dependencies":{"graphql-tag":"^2.2.2","@rollup/pluginutils":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.23.0","graphql":"^14.1.1","@rollup/plugin-buble":"^0.21.3"},"peerDependencies":{"rollup":"^1.20.0 || ^2.0.0","graphql":">=0.9.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_1.1.0_1636727362669_0.7914557104148139","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@rollup/plugin-graphql","version":"2.0.0","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@2.0.0","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"],"workerThreads":false},"dist":{"shasum":"afcad66de490e3d087f047ba541bbcad3d93890b","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-2.0.0.tgz","fileCount":6,"integrity":"sha512-vbC0uL6VNhdcy5pUhFPnpuBNmRTLnV5SAmfbD1H4+1ko0qvxzDd5GJCKazYxhPp8nzENHDLIDK3iFa5Y5hn4YQ==","signatures":[{"sig":"MEUCIQCBMI8YxiPKyFeq8cYLVc5/5cnhyAQI+nZIXOGiIlU3VwIgY11wv3Sxi8VsBbJzKXRQS/Wf/A0dWPF3coxY6AVJHt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQlDPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgyA/+NodjmRoqXryj7oMJqckka/vhd1gelL6sAPIhdsUyaMhNljhy\r\nMyyFBHopfpiaNUJ9So6SqMP+NuERRwOy4RdVCsccU5fnD4mM8YjjJIvg2Gvf\r\nXVRJJA9lMRDdsp26PVQlnZwHbDxttcKiWuJeHel8z0jeQ3irq1/S2pl3th5B\r\nbivTnJSAdx76VP7ycE4e/3WESVzGD6UjE8PNbnxBd8BIVz8JTH2cbUBx0l2i\r\nhTrmstt+6eXUtiDrDC4DL5aM7+a5ZDtND2QxB6kT2hZzkOsJYLDcBNMc8+3X\r\ns7K++tRzJph1s8PMng+JrC3EqbkyQzQjJLsz6S5U5s8JIANaHfASIoyO+/4M\r\nSqTfFU6MCfXjr4tvaGucmW2dUoVBp4Xg3lg2rd3cLHkaoz8yh9WfIpfExaK0\r\nORqd+bzCslkpyDsPAWhZX0IfYBxZFPwKRWQjeKP9eWc7dnum+zFkKaEIiTEn\r\nFz5+neMiKsRvJZSdd7RX29Hn6Ww0U/HdnoqslLb508O/8jI9VWtYirPLpPys\r\n7KXNrpEJhlBPfbHptZ81Ont/UG24uGZsfM4kBD6uLfwA0nIgFCmyKUDXPxzY\r\nI8lKF2y0/VOGuE29YzEVi3uSsxBeU7xNbg8NxS3v82+J1pcOjjgiIGNuX4XG\r\njOtbkvnAzbRHowQHJLhZ9qlcF0Bj36Cvqmg=\r\n=hYtc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","engines":{"node":">=14.0.0"},"exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"gitHead":"5359188c1fb3a3ab1d5c0c5a5ee8d6b53ab3e1a6","scripts":{"test":"ava","build":"rollup -c","ci:lint":"pnpm build && pnpm lint","ci:test":"pnpm test -- --verbose && pnpm test:ts","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"_npmVersion":"8.19.2","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"18.10.0","dependencies":{"graphql-tag":"^2.12.6","@rollup/pluginutils":"^4.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.0.0-7","graphql":"^16.6.0","@rollup/plugin-buble":"^0.21.3"},"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0","graphql":">=0.9.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_2.0.0_1665290446934_0.14197844194145381","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@rollup/plugin-graphql","version":"2.0.1","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@2.0.1","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"],"workerThreads":false},"dist":{"shasum":"3db3d9e4acfb46acc5854845b0ba90df4f8f34ec","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-2.0.1.tgz","fileCount":6,"integrity":"sha512-bUglfhV0nwdIKHltKBCCvYETq8PX1O+26GWLd4Pgtmy4UKsImdrJzUqZ1H+wpGpFZ88pR2TKCesl5CEHVVCLmw==","signatures":[{"sig":"MEUCIApD7m0VVQ+mcpz3N4Q5nqFCR58kMvudK7vnVaXnprN1AiEAi107dLEi+kEdanaEJpnPPH7ux4cqfNlMvtOnd3ixFD8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUu42ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoq3A//R47PCs2JwDd8WxFpmS6GLLWNU4ac1dowly2dTCqdfc9csm4Z\r\nFEUR9z66lOM6lQW6o4rtB3+NPdjO1B+/ftb4fvNLyUOP6CkzBQR+NoIFiqoH\r\nfAV/Ca5tXUVN5NFNXeeuobSF4G5ROv1la+gdzrluNT5Qj4Nhz57P3PuhLlNv\r\nTgf/QaEc2vt4pssuafgtzie2dJLPmDx3eMjXzTTpa88MnECnlYf3Sem8O7nW\r\nJGVPIyY+KojgzsbXSqbMKSI5dWxI0gS0kcUp5po22cUY6khm/v90xCcHbvsg\r\n/aFyXWE1zBvlPRKOD/dClx8eE9iXOVP2gsigVsLAzfo2HBNePOxjoUyuAwNj\r\nhiB814vT+jnG+VUn+Tj6gsw1mmXIB6HOaYTxjKm80/ydv7HxV0ditVo+rwyD\r\nGAYquo7z0Yx+h/SSwujV8Y2SCtffZBDrtmfVQ4Q7eLMYHDbv7xwapgVSpvOh\r\n7dQb/Oqr+i6mE7607z5LGQ6IR/kh0VC9X2d2YkU0EUjSObgZ09hd9yuu9at3\r\n45bTZxwXIFeay9J0nMP5L6p4VRgUXtt/QnBgCJi6qMq3Ldh3EodKZOwRRzdQ\r\ni1G1jNmqO9t+cxskG9YL3iSJgfVc2mEaY5oATcy+AMn7bw6E4qTTDnPRsMvv\r\nKpPtogetXPeWVSbeMtU5WYSQ73ndp8vnjTE=\r\n=xRoz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","engines":{"node":">=14.0.0"},"exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"gitHead":"f9100dcf67fc52c00b0180fd7ae18ac56af45f1b","scripts":{"test":"ava","build":"rollup -c","ci:lint":"pnpm build && pnpm lint","ci:test":"pnpm test -- --verbose && pnpm test:ts","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"_npmVersion":"8.19.2","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"18.11.0","dependencies":{"graphql-tag":"^2.12.6","@rollup/pluginutils":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.2.3","graphql":"^16.6.0","@rollup/plugin-buble":"^1.0.0"},"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0","graphql":">=0.9.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_2.0.1_1666379318383_0.34882434492276304","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@rollup/plugin-graphql","version":"2.0.2","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@2.0.2","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"],"workerThreads":false},"dist":{"shasum":"d3547b5a202939d3815ae2ea48fae586debfbcf1","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-2.0.2.tgz","fileCount":6,"integrity":"sha512-5kghuwAgcvdNrSARRLffKI6BDC3NskormIobhaO6nLdUhWFUJUB66zsgcXKqJu9kDXgiqLthjk7OaMxw552O9g==","signatures":[{"sig":"MEYCIQCmo7HVNEZqk3O2JnSQYZKXMdlHCeGtFGW3ScCnNFlw3wIhAKSjo80Hysjq5Jf1wzBFOaKGrIFEcaaZO8hM9lDTLWrQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWr0KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGUw//X2er10bHNzaidNy+c0qKHYdEa6FpPVE/jjtwzhET2wyqoxvE\r\n0eiqvMd6HwYo/jvpy1GBUfsesK0wiVnP7Iwe8/jab/RTToK1KrYL67sQbB5z\r\nImGvABXhGsVMzK1w3U18aSbfaqq1rz+KDNNzIX+d8Eqme+elyKyAash/UmGJ\r\nNYZrTVIccsBGKmeBNJE70IXrVrHL3mV/amF3Ilfu/ez6Nm85WFwKjsAzDfxa\r\n+G5aW74AlQPXZEL5RTPQxZhL1L9cB8dhVcK+HCDsZM/2Qs3uh9EbbtttBPpk\r\nLFXnT982SqaPMwJfCm6IWuAW14+q7fQQEKnD7i91j6FYnSsIKIviT4eBsGgO\r\nwZH9KDhsiMfp3gr4AxY5j6pLlaseJLBzI87sVMx/ZhfvXlGiGQxdWO/Qg4P2\r\nwbFR3HxTBfhu+szdM2oKYV2nzmSYeKU1WvgXQeK6SxFd7A4KyQzXyqSMayAI\r\nngY2XHBBtoU9blIWnWj6BCEiFnWcqENmkA25auVlfRVOR/6RlI+cWFJnX0nD\r\nen2nh702sXLv1sOrwMyvupFfJ6HVlY36T0GoNuTJlYKsua6pWItEa4JeWkVS\r\n4PNwfuut44kaa+iw5ABfkYIhrjb61y+Yt7WsUKbLi4l+brTqRBqrKoNAA1ML\r\nkjof66xkS05VDGDalvML5lFBOBocAMrOFRE=\r\n=Wo9Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","engines":{"node":">=14.0.0"},"exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"gitHead":"0c1f27c029ac696755e06c2187c2b34dfb32157c","scripts":{"test":"ava","build":"rollup -c","ci:lint":"pnpm build && pnpm lint","ci:test":"pnpm test -- --verbose && pnpm test:ts","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"_npmVersion":"8.19.2","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"18.12.0","dependencies":{"graphql-tag":"^2.12.6","@rollup/pluginutils":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.2.3","graphql":"^16.6.0","@rollup/plugin-buble":"^1.0.0"},"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0","graphql":">=0.9.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_2.0.2_1666891018133_0.6778829235016706","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@rollup/plugin-graphql","version":"2.0.3","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@2.0.3","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"],"workerThreads":false},"dist":{"shasum":"35fea077e225e2982ce8483dd6c381e8cca03aea","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-2.0.3.tgz","fileCount":6,"integrity":"sha512-IuuELo+0t29adRuLVg8izBFiUXFSFw8BmezespscynRfvfXSOV0S7g8RzQt75VzP6KHHVmNmlAgz+8qlkLur3w==","signatures":[{"sig":"MEYCIQCytewLLLn1tdF+Iv2h54EDI/qiddfIe1+VmElqUmKyvwIhALGpoFYZg9ZT+PONI9i+7Tnw3i2KCukBqXfxGomtcDo7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyydQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmpxAAi7+z/bT90stf+rhdVYN2lRnwuLMYsmzyVbv+OQ4d9MZZcsuk\r\nylRUHrDR2oO3s0raHPKQ59g+CD+owlySU8GnuURh9BW7Ymnq5FdJec2j3SuE\r\nIYMwRNLgpSYJYVWl3qGJSqnOked4fB+UTWe4U3JNbxBj22r2JsIgDNhQgctc\r\nLJ0AxGI5Y/J3e8BAfSf47NZDVh8plgBsCREPZau20oU26HE5pJbAsoVvwN4x\r\nrqBG8uE2ahIcjMcGhaVn0eb7PLC2+pc1It7gyegGdzZqW6PkJo8GPkpcNpcK\r\nnxziGzIDk72ldsTjs8eBzKJ7IqjcsscQzEpu2+MlxIoLZDcv41lriqcRHcdq\r\nkRJekDn8H0SI+s72Jv9GrQRxv5KnEZz1L5t45SDj4BsGWhqFl0No2zXyUZse\r\noroNrB64mLhm4P2/53Wy0Oj1hgTRbv8z6dy65MTJGUR50UjabpchUNyIGSqf\r\neiwppEHMA7ONXhfF/vggN7F+2X5FL7d4c+aRejEMOsf5P6psoQAB0mPS0CBx\r\nIfZwIe6bdP+Vx3cjHaDn9VG2XopNBCE38CXTwmB8+9tzwH9fywdSdcc/mciH\r\nZLX9R3bYLiHZOIVlsr3pDgNm42Wfbpt26JOJcHAv8kHXZ6XYykdzt2Y8ewyK\r\nFQaB/Kb4HNI3cGz2NUvpb5gtyQWVmMaI6Rw=\r\n=DyLF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","engines":{"node":">=14.0.0"},"exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"gitHead":"e5ded11ad479087f280d4c674a991b24b748b401","scripts":{"test":"ava","build":"rollup -c","ci:lint":"pnpm build && pnpm lint","ci:test":"pnpm test -- --verbose && pnpm test:ts","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"_npmVersion":"8.19.3","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"18.13.0","dependencies":{"graphql-tag":"^2.12.6","@rollup/pluginutils":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.2.3","graphql":"^16.6.0","@rollup/plugin-buble":"^1.0.0"},"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0","graphql":">=0.9.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_2.0.3_1674258255902_0.9602256010453043","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@rollup/plugin-graphql","version":"2.0.4","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@2.0.4","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"],"workerThreads":false},"dist":{"shasum":"240aee16b4be10f3e9f879b6146af689cc10e07c","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-2.0.4.tgz","fileCount":6,"integrity":"sha512-TfaqbbK71VHodCDCoRbPnv2+Tsnlvad2OsGEviURHFl+ZBUyf5wfXgXc9RqZ+xKxSl87Z3YbPhD0z6eWYjuByw==","signatures":[{"sig":"MEYCIQD2s5ZpmtTztE9AHR2cSMwqxoptTsBmIZpRqYhr37dJ9wIhAN8kGY74JRXR4SEa9sXKZRf6ANmehmArFPIQ+xn94SV5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9902},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","engines":{"node":">=14.0.0"},"exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"gitHead":"9d8b0ea137bdfa9099af6537d89f2e92ffae5c8d","scripts":{"test":"ava","build":"rollup -c","ci:lint":"pnpm build && pnpm lint","ci:test":"pnpm test -- --verbose && pnpm test:ts","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"_npmVersion":"10.1.0","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"20.8.0","dependencies":{"graphql-tag":"^2.12.6","@rollup/pluginutils":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0-24","graphql":"^16.6.0","@rollup/plugin-buble":"^1.0.0"},"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0||^4.0.0","graphql":">=0.9.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_2.0.4_1696507362124_0.7839394475739381","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@rollup/plugin-graphql","version":"2.0.5","keywords":["rollup","plugin","graphql","apollo","import","modules"],"author":{"name":"rollup"},"license":"MIT","_id":"@rollup/plugin-graphql@2.0.5","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**","!**/types.ts"],"workerThreads":false},"dist":{"shasum":"79f92e3a65f5ecab5c01edab943e95cf3e5ca5d6","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-2.0.5.tgz","fileCount":8,"integrity":"sha512-NMx9uVIheYMOQHV9Aann0sk/2+henT8T5JUbHneOvbD3iUrVUC7AaZ1B1ELJ/1vhqUe2OQIkRtGHzOQwBLoCvg==","signatures":[{"sig":"MEYCIQC49v2/Zx07n63n8LnwQgB6HZuH5NscduyWwfQwTJredwIhAJdLV7pLt0adp/QI44/hdOSF02oJPecnm4kiqfOKwsQ/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13176},"main":"./dist/cjs/index.js","_from":"file:rollup-plugin-graphql-2.0.5.tgz","types":"./types/index.d.ts","module":"./dist/es/index.js","engines":{"node":">=14.0.0"},"exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"scripts":{"test":"ava","build":"rollup -c","ci:lint":"pnpm build && pnpm lint","ci:test":"pnpm test -- --verbose && pnpm test:ts","pretest":"pnpm build","release":"pnpm --workspace-root package:release $(pwd)","test:ts":"tsc types/index.d.ts test/types.ts --noEmit","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"_resolved":"/tmp/0aba96a10a6271a1b2ed0752e6994982/rollup-plugin-graphql-2.0.5.tgz","_integrity":"sha512-NMx9uVIheYMOQHV9Aann0sk/2+henT8T5JUbHneOvbD3iUrVUC7AaZ1B1ELJ/1vhqUe2OQIkRtGHzOQwBLoCvg==","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"_npmVersion":"10.8.2","description":"Convert .gql/.graphql files to ES6 modules","directories":{},"_nodeVersion":"20.17.0","dependencies":{"graphql-tag":"^2.12.6","@rollup/pluginutils":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0-24","graphql":"^16.6.0","@rollup/plugin-buble":"^1.0.0"},"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0||^4.0.0","graphql":">=0.9.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-graphql_2.0.5_1727046288898_0.11098751616909519","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@rollup/plugin-graphql","version":"3.0.0","publishConfig":{"access":"public"},"description":"Convert .gql/.graphql files to ES6 modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"author":{"name":"rollup"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"keywords":["rollup","plugin","graphql","apollo","import","modules","rollup-plugin"],"peerDependencies":{"graphql":">=0.9.0","rollup":"^2.78.0||^3.0.0||^4.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.0.1","graphql-tag":"^2.12.6"},"devDependencies":{"@rollup/plugin-buble":"^1.0.0","graphql":"^16.6.0","rollup":"^4.0.0-24"},"types":"./types/index.d.ts","scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --reporter=verbose && pnpm test:ts","lint:graphql":"prettier --write \"test/fixtures/**/*.graphql\"","prebuild":"del-cli dist && pnpm lint:graphql","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $(pwd)","test":"vitest --config ../../.config/vitest.config.mts run","test:ts":"tsc types/index.d.ts test/types.ts --noEmit"},"_id":"@rollup/plugin-graphql@3.0.0","_integrity":"sha512-AUF2YI2VoMMeEsF0tdhEEE02oZXRW749YhJdaAqgRzM8pgU8PlEAfTwNUSFaVI+7RSX3L6H6rHTnI2qshm5Yew==","_resolved":"/tmp/versioner-pack-DRxaZy/rollup-plugin-graphql-3.0.0.tgz","_from":"file:/tmp/versioner-pack-DRxaZy/rollup-plugin-graphql-3.0.0.tgz","_nodeVersion":"20.20.2","_npmVersion":"11.5.1","dist":{"integrity":"sha512-AUF2YI2VoMMeEsF0tdhEEE02oZXRW749YhJdaAqgRzM8pgU8PlEAfTwNUSFaVI+7RSX3L6H6rHTnI2qshm5Yew==","shasum":"bc2c831bd703cb49c54d19383a79ab8c6a7c81f7","tarball":"https://registry.npmjs.org/@rollup/plugin-graphql/-/plugin-graphql-3.0.0.tgz","fileCount":8,"unpackedSize":13393,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rollup%2fplugin-graphql@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHLdzjuyVQwIV0NzNAMPCE5zi99vkxQvuS9wzhhXoWJJAiA7O01j+j621n+hU9d7DpZu0ZJuO/1vLl/yw6oIMu0Itg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f7678d7b-7ac9-427b-8308-75673f0e2b90"}},"directories":{},"maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-graphql_3.0.0_1780069362505_0.09741843745235657"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-27T02:34:41.735Z","modified":"2026-05-29T15:42:42.940Z","1.0.0":"2020-10-27T02:34:41.919Z","1.1.0":"2021-11-12T14:29:22.848Z","2.0.0":"2022-10-09T04:40:47.145Z","2.0.1":"2022-10-21T19:08:38.557Z","2.0.2":"2022-10-27T17:16:58.304Z","2.0.3":"2023-01-20T23:44:16.078Z","2.0.4":"2023-10-05T12:02:42.386Z","2.0.5":"2024-09-22T23:04:49.067Z","3.0.0":"2026-05-29T15:42:42.641Z"},"bugs":{"url":"https://github.com/rollup/plugins/issues"},"author":{"name":"rollup"},"license":"MIT","homepage":"https://github.com/rollup/plugins/tree/master/packages/graphql#readme","keywords":["rollup","plugin","graphql","apollo","import","modules","rollup-plugin"],"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/graphql"},"description":"Convert .gql/.graphql files to ES6 modules","maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"},{"name":"rich_harris","email":"richard.a.harris@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"}],"readme":"[npm]: https://img.shields.io/npm/v/@rollup/plugin-graphql\n[npm-url]: https://www.npmjs.com/package/@rollup/plugin-graphql\n[size]: https://packagephobia.now.sh/badge?p=@rollup/plugin-graphql\n[size-url]: https://packagephobia.now.sh/result?p=@rollup/plugin-graphql\n\n[![npm][npm]][npm-url]\n[![size][size]][size-url]\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n\n# @rollup/plugin-graphql\n\n🍣 A Rollup plugin which Converts .gql/.graphql(s) files to ES6 modules.\n\n## Requirements\n\nThis plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v14.0.0+) and Rollup v2.78.0+.\n\n## Install\n\nUsing npm:\n\n```console\nnpm install @rollup/plugin-graphql --save-dev\n```\n\n## Usage\n\nCreate a `rollup.config.js` [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:\n\n```js\nimport graphql from '@rollup/plugin-graphql';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'output',\n    format: 'cjs'\n  },\n  plugins: [graphql()]\n};\n```\n\nThen call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).\n\nWith an accompanying file `src/index.js`, you can import GraphQL files or named queries/mutations:\n\n```js\n// src/index.js\n\n// import a GraphQL Document from a GraphQL file,\nimport schema from './schema.graphql';\n\n// or import named Query/Mutation\nimport { BatmanQuery, JokerMutation } from './schema.graphql';\n```\n\n#### Fragments\n\nThanks to [graphql-tag](https://github.com/apollographql/graphql-tag), fragments import is supported by using `#import \"...\"`.\n\nGiven the following file `heroFragment.graphql`:\n\n```graphql\nfragment HeroFragment on Hero {\n  id\n  name\n}\n```\n\nYou can import it like this:\n\n```graphql\n#import \"./heroFragment.graphql\"\n\nquery AllHeroes {\n  heros {\n    ...HeroFragment\n  }\n}\n```\n\n## Options\n\n### `exclude`\n\nType: `String` | `Array[...String]`<br>\nDefault: `null`\n\nA [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.\n\n### `include`\n\nType: `String` | `Array[...String]`<br>\nDefault: `null`\n\nA [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.\n\n## Meta\n\n[CONTRIBUTING](/.github/CONTRIBUTING.md)\n\n[LICENSE (MIT)](/LICENSE)\n","readmeFilename":"README.md"}