fix: rename and make firefoxPrefs in web-ext.config.ts work (#2068)

This commit is contained in:
ariasuni
2026-02-06 00:16:58 +01:00
committed by GitHub
parent 3b6a4aa635
commit 48891a7ca5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export function createWebExtRunner(): ExtensionRunner {
? {
firefox: wxtUserConfig?.binaries?.firefox,
firefoxProfile: wxtUserConfig?.firefoxProfile,
prefs: wxtUserConfig?.firefoxPrefs,
pref: wxtUserConfig?.firefoxPref,
args: wxtUserConfig?.firefoxArgs,
}
: {
+1 -1
View File
@@ -992,7 +992,7 @@ export interface WebExtConfig {
/**
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#pref
*/
firefoxPrefs?: Record<string, string>;
firefoxPref?: Record<string, boolean | number | string>;
/**
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#args
*/