English
Interface: DevtoolsOptions
Defined in: src/features/devtools.ts:7
Extends
NonNullable<InputOptions["devtools"]>
Properties
clean?
ts
clean?: boolean;Defined in: src/features/devtools.ts:20
Clean devtools stale sessions.
Default
ts
truemode?
ts
mode?: "report" | "full";Defined in: node_modules/.pnpm/rolldown@1.2.16/node_modules/rolldown/dist/shared/define-config-u93KkixF.d.mts:4098
'full' (default): write JSON-lines devtools logs. 'report': aggregate the same event stream in-memory and emit an agent-readable report (metrics.json + markdown views + history.jsonl) instead. Any other value fails the build.
Inherited from
NonNullable.mode
sessionId?
ts
sessionId?: string;Defined in: node_modules/.pnpm/rolldown@1.2.16/node_modules/rolldown/dist/shared/define-config-u93KkixF.d.mts:4091
Inherited from
NonNullable.sessionId
ui?
ts
ui?: boolean | Partial<StartOptions>;Defined in: src/features/devtools.ts:13
[experimental] Enable devtools integration. @vitejs/devtools must be installed as a dependency.
Defaults to true, if @vitejs/devtools is installed.