Skip to content

API > wxt > BackgroundDefinition

Interface: BackgroundDefinition

Contents

Extends

Properties

exclude

exclude?: string[]

List of target browsers to exclude this entrypoint from. Cannot be used with include. You must choose one of the two options.

Default

ts
undefined

Inherited from

ExcludableEntrypoint.exclude

Source

src/types/external.ts:561


include

include?: string[]

List of target browsers to include this entrypoint in. Defaults to being included in all builds. Cannot be used with exclude. You must choose one of the two options.

Default

ts
undefined

Inherited from

ExcludableEntrypoint.include

Source

src/types/external.ts:554


persistent

persistent?: PerBrowserOption<boolean>

Source

src/types/external.ts:534


type

type?: PerBrowserOption<"module">

Source

src/types/external.ts:533

Methods

main()

main(): void

Source

src/types/external.ts:535


Generated using typedoc-plugin-markdown and TypeDoc