---
url: /api/reference/wxt/functions/defineWebExtConfig.md
---

[API](../../packages.md) / [wxt](../index.md) / defineWebExtConfig

# Function: defineWebExtConfig()

> **defineWebExtConfig**(`config`): [`WebExtConfig`](../interfaces/WebExtConfig.md)

Source: [packages/wxt/src/define-web-ext-config.ts:7](https://github.com/wxt-dev/wxt/blob/7594a4ca5cae24d0d5d705ed0d3ff1347b306e7b/packages/wxt/src/define-web-ext-config.ts#L7)

Configure how [`web-ext`](https://github.com/mozilla/web-ext) starts the
browser during development.

## Parameters

### config

[`WebExtConfig`](../interfaces/WebExtConfig.md)

## Returns

[`WebExtConfig`](../interfaces/WebExtConfig.md)

***

Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/)
