API / wxt / BackgroundEntrypointOptions
Interface: BackgroundEntrypointOptions
Source: packages/wxt/src/types.ts:676
Contents
Extends
Extended by
Properties
exclude?
optionalexclude?:string[]
Source: packages/wxt/src/types.ts:673
List of target browsers to exclude this entrypoint from. Cannot be used with include. You must choose one of the two options.
Default
undefinedInherited from
include?
optionalinclude?:string[]
Source: packages/wxt/src/types.ts:666
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
undefinedInherited from
persistent?
optionalpersistent?:PerBrowserOption<boolean>
Source: packages/wxt/src/types.ts:677
type?
optionaltype?:PerBrowserOption<"module">
Source: packages/wxt/src/types.ts:687
Set to "module" to output the background entrypoint as ESM. ESM outputs can share chunks and reduce the overall size of the bundled extension.
When undefined, the background is bundled individually into an IIFE format.
Default
undefinedGenerated using typedoc-plugin-markdown and TypeDoc