Skip to content

API > wxt > SidepanelEntrypoint

Interface: SidepanelEntrypoint ​

Contents ​

Extends ​

Properties ​

inputPath ​

inputPath: string

Absolute path to the entrypoint's input file.

Inherited from ​

BaseEntrypoint.inputPath

Source ​

packages/wxt/src/types.ts:924


name ​

name: string

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

Examples:

  • popup.html → popup
  • options/index.html → options
  • named.sandbox.html → named
  • named.sandbox/index.html → named
  • sandbox.html → sandbox
  • sandbox/index.html → sandbox
  • overlay.content.ts → overlay
  • overlay.content/index.ts → overlay

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

Inherited from ​

BaseEntrypoint.name

Source ​

packages/wxt/src/types.ts:922


options ​

options: ResolvedPerBrowserOptions<SidepanelEntrypointOptions, "defaultIcon">

Source ​

packages/wxt/src/types.ts:984


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


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


type ​

type: "sidepanel"

Source ​

packages/wxt/src/types.ts:983


Generated using typedoc-plugin-markdown and TypeDoc