vite-plugin-relay-lite weekly downloads statistics
By cometkim · npm · Vite plugins
Vite plugin for more convenient Relay experience
vite-plugin-relay-lite has 2,937 recorded weekly downloads on npm, a decrease of 60.1% over the past 30 days.
It ranks #1206 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -70.6%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About vite-plugin-relay-lite
vite-plugin-relay-lite
Vite plugin for more convenient Relay experience. With no Babel dependencies!
What this plugin does for you: • Generates artifacts on code changes • Transform codes without Babel plugin • Respects project's Relay config file
[!WARNING] This plugin uses naive RegExp match instead of performing correct parsing for JavaScript. So it can fail on syntax that goes beyond the scope of a regular language. (e.g. queries in multiline comments)
Installation
Customize Options
Customize Relay Config
Plugin will automatically load the Relay config file.
You can use custom config file path.
Or pass config object.
ES Module Output
Plugin respects the eagerEsModules option in the Relay config, so the default output format is esmodule.
The plugin also supports CommonJS outputs with eagerEsModules set to false or module: 'esmodule' in plugin options. However, using CommonJS in Vite projects may require additional config to transpile, and it's not recommended to use.
Relay Compiler Integration
Plugin automatically runs relay-compiler before transform, so it should be installed in the project.
Or you can set the codegen option to false to disable it.
Plugin respects the codegenCommand option in the Relay config, it uses relay-compiler if not set.
(Experimental) Omit graphql tag imports
You can set omitTagImport: true to omit import/require statements for the graphql tag.
This might causes the Vite build to fail, allowing early detection of potential transform errors.
Acknowledgements
The compilation has ported from esbuild-plugin-relay, which was originally introduced from a gist by Samuel Cormier-Iijima
LICENSE
MIT
Description from the npm listing.
- vite
- vite-plugin
- relay
Where vite-plugin-relay-lite sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (121)Similar npm Vite plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/vite-plugin-relay-lite. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.