跳到正文

Interface: DevtoolsOptions

Defined in: src/features/devtools.ts:5

Extends

Properties

clean?

ts
optional clean: boolean;

Defined in: src/features/devtools.ts:18

Clean devtools stale sessions.

Default

ts
true

sessionId?

ts
optional sessionId: string;

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1954

Inherited from

ts
NonNullable.sessionId

ui?

ts
optional ui: boolean | Partial<StartOptions>;

Defined in: src/features/devtools.ts:11

[experimental] Enable devtools integration. @vitejs/devtools must be installed as a dependency.

Defaults to true, if @vitejs/devtools is installed.

Released under the MIT License.