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

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

# Interface: WxtPluginEntry

Source: [packages/wxt/src/types.ts:1721](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L1721)

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:1728](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L1728)

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:1723](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L1723)

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