wxt
wxt copied to clipboard
Configure browser binaries globally on windows
Describe the bug
The web-ext.config.ts in the project directory is working just fine. I'm trying to use it globally as mentioned in the docs by putting it in ~/web-ext.config.ts , but for windows I believe the path is C:\Users\<username>\. I tried changing the file name to .web-ext-config.js as in here but with not luck.
To Reproduce
- Start dev mode:
npm run dev
Expected behavior
Launch browser binaries specified in C:\Users\<username>|web-ext.config.ts
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
Memory: 9.46 GB / 15.86 GB
Binaries:
Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (123.0.2420.97)
Internet Explorer: 11.0.19041.3636
npmPackages:
wxt: ^0.18.2 => 0.18.2
I looked into this, and I think this is a problem with c12. It's not discovering the config file in the home directory correctly.