Content tooling API
DoqContentVitePlugin
Minimal structural type of the Vite plugin, so the package needs no dependency on Vite.
Overview
Minimal structural type of the Vite plugin, so the package needs no dependency on Vite.
- Kind: Interface
Declaration
interface DoqContentVitePlugin
Properties
| Name | Type | Description |
|---|---|---|
name |
string |
|
enforce |
'pre' |
Public methods
buildStart
buildStart(this: unknown): Promise<void>
configureServer
configureServer(server: { watcher: { on(event: string, listener: (file: string) => void): unknown; }; config: { logger: { error(message: string): void; }; }; }): void
| Parameter | Type | Optional | Description |
|---|---|---|---|
server |
{ watcher: { on(event: string, listener: (file: string) => void): unknown }; config: { logger: { error(message: string): void } } } |