Skip to content

API / wxt / ConfigEnv

Interface: ConfigEnv

Source: packages/wxt/src/types.ts:1173

Contents

Properties

browser

browser: string

Source: packages/wxt/src/types.ts:1188

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


command

command: WxtCommand

Source: packages/wxt/src/types.ts:1183

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


manifestVersion

manifestVersion: 2 | 3

Source: packages/wxt/src/types.ts:1195

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.


mode

mode: string

Source: packages/wxt/src/types.ts:1178

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


Generated using typedoc-plugin-markdown and TypeDoc