Skip to content

API / wxt / WxtPluginEntry

Interface: WxtPluginEntry ​

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

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

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

Import path or absolute file path to the plugin module.


Generated using typedoc-plugin-markdown and TypeDoc