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:1243


config

config: ResolvedConfig

Source

packages/wxt/src/types.ts:1218


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/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.d.ts:55

Source

packages/wxt/src/types.ts:1223


hooks

hooks: Hookable<WxtHooks, HookKeys<WxtHooks>>

Source

packages/wxt/src/types.ts:1219


logger

logger: Logger

Alias for config.logger

Source

packages/wxt/src/types.ts:1227


pm

pm: WxtPackageManager

Package manager utilities.

Source

packages/wxt/src/types.ts:1235


reloadConfig

reloadConfig: () => Promise<void>

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

Source

packages/wxt/src/types.ts:1231


server

server?: WxtDevServer

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

Source

packages/wxt/src/types.ts:1239


Generated using typedoc-plugin-markdown and TypeDoc