Skip to content
JS
Package

vite-plugin-graphql-loader

A Vite plugin for loading GraphQL files.

v5.1.1, 11 May 2026ISCESM onlyTypes: BundledBundler plugins and loadersGraphQL
$ npm install vite-plugin-graphql-loader

Key numbers

As of 25 Sept 2026
Weekly downloads
69.2k
+96% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
4 months ago
v5.1.1
GitHub stars
25
2 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
21

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 155.1k (18 Aug 2026)Low 23.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

69,244 downloads last week, 444,971 in the last month. The 12-month change of +96% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.1.1, 11 May 20264 months ago
First published
-
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
21
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.19.0 || >=22.12.0
Runtimes
-
Unpacked size (npm)
30 kB
Dependencies (2)
graphql-tagmagic-string
Peer dependencies (2)
vitegraphql
npm install vite-plugin-graphql-loader
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-graphql-loader@5.1.1/
  • unpkghttps://unpkg.com/vite-plugin-graphql-loader@5.1.1/
  • esm.shhttps://esm.sh/vite-plugin-graphql-loader@5.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
vite-plugin-relay37.5k-2 years agoESM + CommonJS-
vite-plugin-relay-lite8.6k-10 months agoESM + CommonJS-
vite-plugin-checker2.5m-2 months agoESM only-
graphql-let5.7k-4 years agoCommonJS-
vite-plugin-node53.3k-5 months agoCommonJS-
@sveltejs/vite-plugin-svelte2.4m-1 day agoESM only-
vite-plugin-externalize-deps141.2k-11 months agoESM + CommonJS-
@froxz/vite-plugin-s311.4k-3 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.