A Vite plugin that bridges React applications with Kulp.AI, providing error reporting, route tracking, component tagging, and postMessage-based communication. Current stable version is 1.1.5, with no established release cadence. Key differentiators: development-only operation, configurable bridges, TypeScript support, and dependency on @babel/parser, magic-string, and estree-walker for component tagging. Alternatives include custom Vite plugins for similar features, but vite-bridge offers a unified integration with Kulp.AI.
npm install vite-bridgeVerified import paths — ran on the pinned version, not inferred.
Shows basic setup of vite-bridge plugin in Vite configuration with all bridges enabled.
Use ...viteBridge() instead of viteBridge() as a single plugin.
Install the required dependencies: npm install @babel/parser magic-string estree-walker
Install optional dependencies: npm install esbuild tailwindcss
N/A
npm install @babel/parser
Ensure you use 'import { viteBridge } from 'vite-bridge'' and spread the result: '...viteBridge()'Change to 'import { viteBridge } from 'vite-bridge''No dependency data recorded yet.