Skip to content

Commit

Permalink
Fix Gecko/Chromium-based manifest fields not working
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Nov 18, 2024
1 parent 6e3c6ac commit edebba0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion programs/develop/webpack/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ export function filterKeysForThisBrowser(

if (
prefix === browser ||
(prefix === 'chromium' && CHROMIUM_BASED_BROWSERS.includes(browser))
(prefix === 'chromium' && CHROMIUM_BASED_BROWSERS.includes(browser)) ||
(prefix === 'chromium' && browser.includes('chromium')) ||
(prefix === 'gecko' && browser.includes('gecko'))
) {
this[key.substring(indexOfColon + 1)] = value
}
Expand Down

0 comments on commit edebba0

Please sign in to comment.