---
url: /api/reference/wxt/interfaces/WxtPluginEntry.md
---

[API](../../packages.md) / [wxt](../index.md) / WxtPluginEntry

# Interface: WxtPluginEntry

Source: [packages/wxt/src/types.ts:1700](https://github.com/wxt-dev/wxt/blob/f9fa638f895f58b1054813f055949b23e3899e26/packages/wxt/src/types.ts#L1700)

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

## Contents

* [Properties](#properties)
  * [apply?](#apply)
  * [module](#module)

## Properties

### apply?

> `optional` **apply?**: (`entrypoint`) => `boolean`

Source: [packages/wxt/src/types.ts:1707](https://github.com/wxt-dev/wxt/blob/f9fa638f895f58b1054813f055949b23e3899e26/packages/wxt/src/types.ts#L1707)

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

#### Parameters

##### entrypoint

[`Entrypoint`](../type-aliases/Entrypoint.md)

#### Returns

`boolean`

***

### module

> **module**: `string`

Source: [packages/wxt/src/types.ts:1702](https://github.com/wxt-dev/wxt/blob/f9fa638f895f58b1054813f055949b23e3899e26/packages/wxt/src/types.ts#L1702)

Import path or absolute file path to the plugin module.

***

Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/)
