unstale

npm / vite-plugin-relay

vite-plugin-relay

What changed in vite-plugin-relay 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

1 new APIs and options2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

vite-plugin-relay 23 changes

New APIs and options 1

  • Adds createRelayPlugin(options), which passes options through to babel-plugin-relay and supports setups where automatic Relay config discovery fails.

    2.2.0release notes

Fixes and other changes 2

  • Adds a types condition to the package root export so TypeScript can resolve types with nodenext.

    2.2.1release notes

  • A relative artifactDirectory passed to the plugin is now resolved against the Vite root rather than the process cwd.

    2.2.0release notes