Skip to content

API > wxt > ResolvedConfig

Interface: ResolvedConfig

Contents

Properties

alias

alias: Record<string, string>

Import aliases to absolute paths.

Source

src/types/index.ts:1046


analysis

analysis: object

Type declaration

enabled

enabled: boolean

keepArtifacts

keepArtifacts: boolean

outputDir

outputDir: string

The directory where the final stats.html file is located

outputFile

outputFile: string

Absolute file path to the stats.html file

outputName

outputName: string

Name of the stats.html file, minus ".html"

template

template: NonNullable<undefined | TemplateType>

Source

src/types/index.ts:1031


browser

browser: string

Source

src/types/index.ts:1011


builder

builder: WxtBuilder

Source

src/types/index.ts:1050


command

command: "build" | "serve"

Source

src/types/index.ts:1010


debug

debug: boolean

Source

src/types/index.ts:1004


dev

dev: object

Type declaration

reloadCommand

reloadCommand: string | false

Source

src/types/index.ts:1051


entrypointsDir

entrypointsDir: string

Source

src/types/index.ts:1000


env

env: ConfigEnv

Source

src/types/index.ts:1013


experimental

experimental: object

Type declaration

includeBrowserPolyfill

includeBrowserPolyfill: boolean

Source

src/types/index.ts:1047


filterEntrypoints

filterEntrypoints?: Set<string>

Source

src/types/index.ts:1001


fsCache

fsCache: FsCache

Source

src/types/index.ts:1017


hooks

hooks: Partial<WxtHooks>

Source

src/types/index.ts:1054


imports

imports: false | WxtResolvedUnimportOptions

Source

src/types/index.ts:1015


logger

logger: Logger

Source

src/types/index.ts:1014


manifest

manifest: Partial<Omit<WebExtensionManifest, "background" | "chrome_url_overrides" | "devtools_page" | "manifest_version" | "options_page" | "options_ui" | "sandbox">>

Source

src/types/index.ts:1016


manifestVersion

manifestVersion: TargetManifestVersion

Source

src/types/index.ts:1012


mode

mode: string

Source

src/types/index.ts:1009


outBaseDir

outBaseDir: string

Source

src/types/index.ts:1002


outDir

outDir: string

Source

src/types/index.ts:1003


publicDir

publicDir: string

Source

src/types/index.ts:997


root

root: string

Source

src/types/index.ts:995


runnerConfig

runnerConfig: ResolvedConfig<ExtensionRunnerConfig, ConfigLayerMeta>

Source

src/types/index.ts:1019


server

server?: WxtDevServer

Source

src/types/index.ts:1018


srcDir

srcDir: string

Source

src/types/index.ts:996


transformManifest

transformManifest: (manifest) => void

Parameters

manifest: WebExtensionManifest

Source

src/types/index.ts:1030


typesDir

typesDir: string

Source

src/types/index.ts:999


userConfigMetadata

userConfigMetadata: Omit<ResolvedConfig<UserConfig, ConfigLayerMeta>, "config">

Source

src/types/index.ts:1042


wxtDir

wxtDir: string

Source

src/types/index.ts:998


wxtModuleDir

wxtModuleDir: string

Directory pointing to node_modules/wxt, wherever WXT is installed.

Source

src/types/index.ts:1008


zip

zip: object

Type declaration

artifactTemplate

artifactTemplate: string

downloadPackages

downloadPackages: string[]

downloadedPackagesDir

downloadedPackagesDir: string

excludeSources

excludeSources: string[]

includeSources

includeSources: string[]

name

name?: string

sourcesRoot

sourcesRoot: string

sourcesTemplate

sourcesTemplate: string

Source

src/types/index.ts:1020


Generated using typedoc-plugin-markdown and TypeDoc