Add Chromium profile to web-ext configuration.
This commit is contained in:
parent
8adbee70e9
commit
9ed7f78d60
|
@ -19,6 +19,7 @@ type WebExtConfig = {
|
||||||
|
|
||||||
run: {
|
run: {
|
||||||
browserConsole: boolean;
|
browserConsole: boolean;
|
||||||
|
chromiumProfile: string;
|
||||||
firefoxProfile: string;
|
firefoxProfile: string;
|
||||||
keepProfileChanges: boolean;
|
keepProfileChanges: boolean;
|
||||||
profileCreateIfMissing: boolean;
|
profileCreateIfMissing: boolean;
|
||||||
|
@ -53,6 +54,7 @@ export function createWebExtConfig(
|
||||||
|
|
||||||
run: {
|
run: {
|
||||||
browserConsole: dev,
|
browserConsole: dev,
|
||||||
|
chromiumProfile: path.join(buildDir, "chromium-profile/"),
|
||||||
firefoxProfile: path.join(buildDir, "firefox-profile/"),
|
firefoxProfile: path.join(buildDir, "firefox-profile/"),
|
||||||
keepProfileChanges: true,
|
keepProfileChanges: true,
|
||||||
profileCreateIfMissing: true,
|
profileCreateIfMissing: true,
|
||||||
|
|
Loading…
Reference in New Issue