Skip to content

API / wxt / WxtPluginEntry

Interface: WxtPluginEntry ​

Source: packages/wxt/src/types.ts:1698

A plugin registered via addWxtPlugin, along with an optional apply function controlling which entrypoints it's loaded in.

Contents ​

Properties ​

apply? ​

optional apply?: (entrypoint) => boolean

Source: packages/wxt/src/types.ts:1705

Return true to include the plugin in this entrypoint. When omitted, the plugin is included in every entrypoint.

Parameters ​

entrypoint ​

Entrypoint

Returns ​

boolean


module ​

module: string

Source: packages/wxt/src/types.ts:1700

Import path or absolute file path to the plugin module.


Generated using typedoc-plugin-markdown and TypeDoc