Skip to content

API > wxt > OptionsEntrypoint

Interface: OptionsEntrypoint

Contents

Extends

Properties

inputPath

inputPath: string

Absolute path to the entrypoint's input file.

Inherited from

BaseEntrypoint.inputPath

Source

packages/wxt/src/types.ts:726


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:722


options

options: ResolvedPerBrowserOptions<OptionsEntrypointOptions, never>

Source

packages/wxt/src/types.ts:776


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:731


skipped

skipped?: boolean

When true, the entrypoint will not be built by WXT. Normally this is set based on the filterEntrypoints config or the entrypoint's include/exclude options defined inside the file.

See https://wxt.dev/guide/essentials/target-different-browsers.html#filtering-entrypoints

Inherited from

BaseEntrypoint.skipped

Source

packages/wxt/src/types.ts:739


type

type: "options"

Source

packages/wxt/src/types.ts:775


Generated using typedoc-plugin-markdown and TypeDoc