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

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

# Interface: WxtPluginEntry

Source: [packages/wxt/src/types.ts:1719](https://github.com/wxt-dev/wxt/blob/6f60c5a7805633b9e8e43999eaa7a6f3e01ab53d/packages/wxt/src/types.ts#L1719)

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:1726](https://github.com/wxt-dev/wxt/blob/6f60c5a7805633b9e8e43999eaa7a6f3e01ab53d/packages/wxt/src/types.ts#L1726)

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:1721](https://github.com/wxt-dev/wxt/blob/6f60c5a7805633b9e8e43999eaa7a6f3e01ab53d/packages/wxt/src/types.ts#L1721)

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/)
