Skip to content

API > wxt > WxtPluginEntry

Interface: WxtPluginEntry

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

Contents

Properties

apply

apply?: (entrypoint) => boolean

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

Parameters

entrypoint: Entrypoint

Source

packages/wxt/src/types.ts:1678


module

module: string

Import path or absolute file path to the plugin module.

Source

packages/wxt/src/types.ts:1673


Generated using typedoc-plugin-markdown and TypeDoc