@zappdev/vite
v0.2.0
Published
Vite plugin for Zapp desktop apps
Readme
@zappdev/vite
Vite plugin for Zapp desktop apps. Handles worker discovery, source bundling, and output configuration so your Vite-based frontend integrates seamlessly with the Zapp native runtime.
Install
bun add -D @zappdev/vitenpm install -D @zappdev/viteUsage
// vite.config.ts
import { defineConfig } from "vite";
import zapp from "@zappdev/vite";
export default defineConfig({
plugins: [zapp()],
});Options
| Option | Type | Description |
| ------------ | --------- | ---------------------------------- |
| outDir | string | Output directory for bundled files |
| sourceRoot | string | Root directory of source files |
| minify | boolean | Enable minification |
License
MIT
