Skip to content

API > wxt > UnlistedScriptDefinition

Interface: UnlistedScriptDefinition

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

BaseEntrypointOptions.exclude

Source

src/types/index.ts:443


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

BaseEntrypointOptions.include

Source

src/types/index.ts:436

Methods

main()

main(): void | Promise<void>

Main function executed when the unlisted script is ran.

Source

src/types/index.ts:689


Generated using typedoc-plugin-markdown and TypeDoc