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.ts:712


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.ts:708


options

options: ResolvedPerBrowserOptions<BaseEntrypointOptions, never>

Source

packages/wxt/src/types.ts:732


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.ts:717


skipped

skipped: boolean

Inherited from

BaseEntrypoint.skipped

Source

packages/wxt/src/types.ts:718


type

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

Source

packages/wxt/src/types.ts:722


Generated using typedoc-plugin-markdown and TypeDoc