Skip to content

API > wxt > UserManifest

Type alias: UserManifest

UserManifest: { [key in keyof chrome.runtime.ManifestV3 as key extends "action" | "background" | "chrome_url_overrides" | "devtools_page" | "manifest_version" | "options_page" | "options_ui" | "permissions" | "sandbox" | "web_accessible_resources" ? never : key]?: chrome.runtime.ManifestV3[key] } & object

Manifest customization available in the wxt.config.ts file. You cannot configure entrypoints here, they are configured inline.

Type declaration

action

action?: chrome.runtime.ManifestV3["action"] & object

Type declaration

browser_style

browser_style?: boolean

browser_action

browser_action?: chrome.runtime.ManifestV2["browser_action"] & object

Type declaration

browser_style

browser_style?: boolean

browser_specific_settings

browser_specific_settings?: object

browser_specific_settings.gecko

browser_specific_settings.gecko?: object

browser_specific_settings.gecko.id

browser_specific_settings.gecko.id?: string

browser_specific_settings.gecko.strict_max_version

browser_specific_settings.gecko.strict_max_version?: string

browser_specific_settings.gecko.strict_min_version

browser_specific_settings.gecko.strict_min_version?: string

browser_specific_settings.gecko.update_url

browser_specific_settings.gecko.update_url?: string

browser_specific_settings.gecko_android

browser_specific_settings.gecko_android?: object

browser_specific_settings.gecko_android.strict_max_version

browser_specific_settings.gecko_android.strict_max_version?: string

browser_specific_settings.gecko_android.strict_min_version

browser_specific_settings.gecko_android.strict_min_version?: string

browser_specific_settings.safari

browser_specific_settings.safari?: object

browser_specific_settings.safari.strict_max_version

browser_specific_settings.safari.strict_max_version?: string

browser_specific_settings.safari.strict_min_version

browser_specific_settings.safari.strict_min_version?: string

page_action

page_action?: chrome.runtime.ManifestV2["page_action"] & object

Type declaration

browser_style

browser_style?: boolean

permissions

permissions?: (chrome.runtime.ManifestPermissions | string & Record<never, never>)[]

web_accessible_resources

web_accessible_resources?: string[] | chrome.runtime.ManifestV3["web_accessible_resources"]

Source

packages/wxt/src/types.ts:871


Generated using typedoc-plugin-markdown and TypeDoc