Skip to content

Function appPlugin() ​

appPlugin(options: AppPluginOptions): PluginOption[]

Source: app.ts

Vite plugin for building ProzillaOS apps.

Parameters ​

options ​

AppPluginOptions

Returns ​

PluginOption[]

Example ​

ts
import { defineConfig } from "vite";
import { appPlugin } from "@prozilla-os/dev-tools";

export default defineConfig({
    plugins: [appPlugin({ entryPath: "src/main.ts" })],
});

Built by Prozilla