Skip to content

API > wxt > Wxt

Interface: Wxt

Contents

Properties

builder

builder: WxtBuilder

The module in charge of executing all the build steps.

Source

packages/wxt/src/types.ts:1433


config

config: ResolvedConfig

Source

packages/wxt/src/types.ts:1420


hook

hook: <NameT>(name, function_, options?) => () => void

Alias for wxt.hooks.hook(...).

Type parameters

NameT extends HookKeys<WxtHooks>

Parameters

name: NameT

function_: InferCallback<WxtHooks, NameT>

options?: object

options.allowDeprecated?: boolean

Returns

(): void

Source

node_modules/.bun/hookable@6.1.0/node_modules/hookable/dist/index.d.mts:39

Source

packages/wxt/src/types.ts:1423


hooks

hooks: Hookable<WxtHooks, HookKeys<WxtHooks>>

Source

packages/wxt/src/types.ts:1421


logger

logger: Logger

Alias for config.logger

Source

packages/wxt/src/types.ts:1425


pm

pm: WxtPackageManager

Package manager utilities.

Source

packages/wxt/src/types.ts:1429


reloadConfig

reloadConfig: () => Promise<void>

Reload config file and update wxt.config with the result.

Source

packages/wxt/src/types.ts:1427


server

server?: WxtDevServer

If the dev server was started, it will be available.

Source

packages/wxt/src/types.ts:1431


Generated using typedoc-plugin-markdown and TypeDoc