Skip to content

API > wxt > GenericEntrypoint

Interface: GenericEntrypoint

Contents

Extends

Properties

inputPath

inputPath: string

Absolute path to the entrypoint's input file.

Inherited from

BaseEntrypoint.inputPath

Source

packages/wxt/src/types/index.ts:701


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

packages/wxt/src/types/index.ts:697


options

options: ResolvedPerBrowserOptions<BaseEntrypointOptions, never>

Source

packages/wxt/src/types/index.ts:721


outputDir

outputDir: string

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

Inherited from

BaseEntrypoint.outputDir

Source

packages/wxt/src/types/index.ts:706


skipped

skipped: boolean

Inherited from

BaseEntrypoint.skipped

Source

packages/wxt/src/types/index.ts:707


type

type: "sandbox" | "bookmarks" | "history" | "newtab" | "devtools" | "unlisted-page" | "unlisted-script" | "unlisted-style" | "content-script-style"

Source

packages/wxt/src/types/index.ts:711


Generated using typedoc-plugin-markdown and TypeDoc