VitePrefs
ts
type VitePrefs: Prefs & object;
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