DuskCorePlugin
The core plugin: a Vite plugin with an api.
The core plugin: a Vite plugin with an api.
Import#
ts
import type { DuskCorePlugin } from "@shadow-js/dusk/vite";
Signature#
ts
interface DuskCorePlugin extends Plugin<DuskCoreApi> {
readonly name: "shadowjs:start";
readonly api: DuskCoreApi;
}
Members#
| Name | Type | Description |
|---|---|---|
name |
readonly name: "shadowjs:start" |
The name of the plugin, for use in error messages and logs. |
api |
readonly api: DuskCoreApi |
Used for inter-plugin communication. |