Skip to content

Commit d8d7546

Browse files
authored
docs: Add "defineConfig" config to startup examples (#1989)
1 parent e52ebf1 commit d8d7546

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/guide/essentials/config/browser-startup.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ export default defineWebExtConfig({
4141
});
4242
```
4343

44+
```ts [wxt.config.ts]
45+
export default defineConfig({
46+
webExt: {
47+
binaries: {
48+
chrome: '/path/to/chrome-beta', // Use Chrome Beta instead of regular Chrome
49+
firefox: 'firefoxdeveloperedition', // Use Firefox Developer Edition instead of regular Firefox
50+
edge: '/path/to/edge', // Open MS Edge when running "wxt -b edge"
51+
},
52+
}
53+
});
54+
```
55+
4456
By default, WXT will try to automatically discover where Chrome/Firefox are installed. However, if you have chrome installed in a non-standard location, you need to set it manually as shown above.
4557

4658
### Persist Data

0 commit comments

Comments
 (0)