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

packages/wxt/src/types.ts:938


command

command: WxtCommand

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

Source

packages/wxt/src/types.ts:934


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

packages/wxt/src/types.ts:944


mode

mode: string

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

Source

packages/wxt/src/types.ts:930


Generated using typedoc-plugin-markdown and TypeDoc