Interface: Wxt
Contents
Properties
builder
builder:
WxtBuilder
The module in charge of executing all the build steps.
Source
packages/wxt/src/types.ts:1544
config
config:
ResolvedConfig
Source
packages/wxt/src/types.ts:1531
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
():
voidSource
node_modules/.bun/hookable@6.1.0/node_modules/hookable/dist/index.d.mts:39
Source
packages/wxt/src/types.ts:1534
hooks
Source
packages/wxt/src/types.ts:1532
logger
logger:
WxtLogger
Wraps config.logger, adding warnOnce.
Source
packages/wxt/src/types.ts:1536
pm
Package manager utilities.
Source
packages/wxt/src/types.ts:1540
reloadConfig
reloadConfig: () =>
Promise<void>
Reload config file and update wxt.config with the result.
Source
packages/wxt/src/types.ts:1538
server
server?:
WxtDevServer
If the dev server was started, it will be available.
Source
packages/wxt/src/types.ts:1542
Generated using typedoc-plugin-markdown and TypeDoc