Skip to content

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

Merged
aklinker1 merged 1 commit intowxt-dev:mainfrom
ariasuni:fix-firefox-pref
Feb 5, 2026
Merged

fix: rename and make firefoxPrefs in web-ext.config.ts work#2068
aklinker1 merged 1 commit intowxt-dev:mainfrom
ariasuni:fix-firefox-pref

Conversation

@ariasuni
Copy link
Contributor

@ariasuni ariasuni commented Feb 5, 2026

Overview

Maybe

Manual Testing

I used it in my personal project and it works well, in particular with:

export default defineWebExtConfig({
  firefoxPref: {
    "browser.newtabpage.enabled": false,
  },
});

Related Issue

I don’t think there’s an issue about that.

- The correct option in web-ext-run is pref, not prefs.
- Update types, you need to use the correct type for the pref value
- Rename field to firefoxPref, it’s consistent with chromiumPref
@netlify
Copy link

netlify bot commented Feb 5, 2026

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 2085871
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6983f364b46db80008505e4e
😎 Deploy Preview https://deploy-preview-2068--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@aklinker1 aklinker1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 5, 2026

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2068

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2068

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2068

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2068

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2068

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2068

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2068

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2068

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2068

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2068

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2068

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2068

wxt

npm i https://pkg.pr.new/wxt@2068

commit: 2085871

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.05%. Comparing base (0e8afbb) to head (2085871).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2068      +/-   ##
==========================================
+ Coverage   76.02%   76.05%   +0.03%     
==========================================
  Files         113      113              
  Lines        3049     3049              
  Branches      686      686              
==========================================
+ Hits         2318     2319       +1     
+ Misses        648      646       -2     
- Partials       83       84       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aklinker1 aklinker1 merged commit 48891a7 into wxt-dev:main Feb 5, 2026
20 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

Thanks for helping make WXT better!

@ariasuni ariasuni deleted the fix-firefox-pref branch February 5, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants