Vite plugin and deploy tooling for Windmill raw apps. Current stable version is 1.691.0, tracking Windmill minor releases. Provides Vite integration for developing and deploying Windmill raw apps with features like automatic path inference from `.raw_app` directories, virtual `wmill` runtime injection, authenticated `/api` proxying, and optional post-build deployment. Released in sync with Windmill minor versions; each major Windmill release gets a corresponding package version line (e.g., 1.691.x). Key differentiators: seamless Vite integration, automatic base path and proxy configuration, and direct deploy capabilities. Requires Node.js 22+ and Vite ^8.0.8.
npm install vite-plugin-windmillVerified import paths — ran on the pinned version, not inferred.
Basic Vite configuration using vite-plugin-windmill with raw app entry point and project structure example.
Upgrade Node.js to version 22 or later.
Update Vite to version 8.0.8 or newer.
Use exact version pinning, e.g., 'vite-plugin-windmill@1.684.0'.
Use `import windmill from 'vite-plugin-windmill'` (without curly braces).
Create a directory named `<name>.raw_app` or `<name>__raw_app` with a raw_app.yaml file inside.
Set `url` option or `BASE_INTERNAL_URL`/`BASE_URL` environment variables.
Run `pnpm add -D vite-plugin-windmill` (or npm/bun equivalent).
Change `import { windmill } from 'vite-plugin-windmill'` to `import windmill from 'vite-plugin-windmill'`.Ensure your project has a directory like `app.raw_app/` containing `raw_app.yaml`.