fix: rename and make firefoxPrefs in web-ext.config.ts work (#2068)
This commit is contained in:
@@ -44,7 +44,7 @@ export function createWebExtRunner(): ExtensionRunner {
|
||||
? {
|
||||
firefox: wxtUserConfig?.binaries?.firefox,
|
||||
firefoxProfile: wxtUserConfig?.firefoxProfile,
|
||||
prefs: wxtUserConfig?.firefoxPrefs,
|
||||
pref: wxtUserConfig?.firefoxPref,
|
||||
args: wxtUserConfig?.firefoxArgs,
|
||||
}
|
||||
: {
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user