API > wxt > ContentScriptEntrypoint
Interface: ContentScriptEntrypoint
Contents
Extends
Properties
inputPath
inputPath:
string
Absolute path to the entrypoint's input file.
Inherited from
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.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
Source
packages/wxt/src/types/index.ts:697
options
options:
ResolvedPerBrowserOptions
<IsolatedWorldContentScriptEntrypointOptions
|MainWorldContentScriptEntrypointOptions
,never
>
Source
packages/wxt/src/types/index.ts:731
outputDir
outputDir:
string
Absolute path to the entrypoint's output directory. Can be wxt.config.outDir
or a subdirectory of it.
Inherited from
Source
packages/wxt/src/types/index.ts:706
skipped
skipped:
boolean
Inherited from
Source
packages/wxt/src/types/index.ts:707
type
type:
"content-script"
Source
packages/wxt/src/types/index.ts:730
Generated using typedoc-plugin-markdown and TypeDoc