Skip to content

PluginInjection

ts
type PluginInjection: object;

Used to inject client-side content for a plugin.

Type declaration

src

ts
src: string;

Full path to the injected file on local file system.

type

ts
type: "module" | "css";

Whether injected content is a JS module or CSS stylesheet.

Defined in

server/config/plugin.ts:44 ↗