Vite plugin (v1.0.2) for integrating Zephyr Cloud's module federation and deployment platform into Vite-based projects. Enables seamless federated module loading, deployment to Zephyr Cloud, and version management. Requires Vite ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0, Rollup ^4.0.0, and @module-federation/vite ^1.13.2. Ships TypeScript types. Key differentiators: purpose-built for Zephyr Cloud with no-config setup and automatic module synchronization. Release cadence: patch releases every few weeks with occasional major bumps.
npm install vite-plugin-zephyrVerified import paths — ran on the pinned version, not inferred.
Basic Vite config with Zephyr plugin enabling module federation and deployment integration.
Replace `import { withZephyr } from 'vite-plugin-zephyr'` with `import zephyr from 'vite-plugin-zephyr'`.Order plugins correctly: `plugins: [vue(), react(), zephyr()]`.
Use `zephyr()` as a function call, not `new zephyr()` or just `zephyr`.
Install compatible version: `npm install @module-federation/vite@^1.13.2`.
Change to `import zephyr from 'vite-plugin-zephyr'` and ensure package.json has `"type": "module"`.
Use `zephyr()` instead of `zephyr` in the plugins array.
Run `npm install @module-federation/vite@^1.13.2` to install the correct peer dependency.