Skip to content

PluginInjection

ts
type PluginInjection = object;

Defined in: server/config/plugin.ts:44 ↗

Used to inject client-side content for a plugin.

Properties

src

ts
src: string;

Defined in: server/config/plugin.ts:48 ↗

Full path to the injected file on local file system.


type

ts
type: "module" | "css";

Defined in: server/config/plugin.ts:46 ↗

Whether injected content is a JS module or CSS stylesheet.