Skip to content

VitePrefs ​

ts
type VitePrefs = Prefs & object;

Defined in: plugin/vite.ts:4 ↗

Configures vite plugin behaviour.

Type Declaration ​

inject? ​

ts
optional inject: boolean;

Whether to inject imgit client JavaScript module to index HTML; enabled by default.

skip()? ​

ts
optional skip: (filename) => boolean;

Specify condition when document shouldn't be transformed by the vite plugin.

Parameters ​

filename ​

string

Returns ​

boolean