Skip to content

API > wxt > BackgroundEntrypoint

Interface: BackgroundEntrypoint

Contents

Extends

Properties

inputPath

inputPath: string

Absolute path to the entrypoint's input file.

Inherited from

BaseEntrypoint.inputPath

Source

src/types/index.ts:621


name

name: string

The entrypoint's name. This is the filename or dirname without the type suffix.

Examples:

  • popup.htmlpopup
  • options/index.htmloptions
  • named.sandbox.htmlnamed
  • named.sandbox/index.htmlnamed
  • sandbox.htmlsandbox
  • sandbox/index.htmlsandbox
  • overlay.content.tsoverlay
  • overlay.content/index.tsoverlay

The name is used when generating an output file: <entrypoint.outputDir>/<entrypoint.name>.<ext>

Inherited from

BaseEntrypoint.name

Source

src/types/index.ts:617


options

options: ResolvedPerBrowserOptions<BackgroundEntrypointOptions, never>

Source

src/types/index.ts:646


outputDir

outputDir: string

Absolute path to the entrypoint's output directory. Can be theInternalConfg.outDir or a subdirectory of it.

Inherited from

BaseEntrypoint.outputDir

Source

src/types/index.ts:626


skipped

skipped: boolean

Inherited from

BaseEntrypoint.skipped

Source

src/types/index.ts:627


type

type: "background"

Source

src/types/index.ts:645


Generated using typedoc-plugin-markdown and TypeDoc