Skip to content

API > wxt > ConfigEnv

Interface: ConfigEnv

Contents

Properties

browser

browser: string

Browser passed in from the CLI via the -b or --browser flag. Defaults to "chrome" when not passed.

Source

src/types/index.ts:770


command

command: "build" | "serve"

The command used to run WXT. "serve" during development and "build" for any other command.

Source

src/types/index.ts:766


manifestVersion

manifestVersion: 2 | 3

Manifest version passed in from the CLI via the --mv2 or --mv3 flags. When not passed, it depends on the target browser. See the guide for more details.

Source

src/types/index.ts:776


mode

mode: string

The build mode passed into the CLI. By default, wxt uses "development" and wxt build|zip uses "production".

Source

src/types/index.ts:762


Generated using typedoc-plugin-markdown and TypeDoc