Skip to content

Migrate extension build to WXT#258

Merged
rthaut merged 2 commits into
masterfrom
build/migrate-wxt
Jul 15, 2026
Merged

Migrate extension build to WXT#258
rthaut merged 2 commits into
masterfrom
build/migrate-wxt

Conversation

@rthaut

@rthaut rthaut commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace WebExtension Toolbox build tooling with WXT MV2 builds for Chrome, Edge, and Firefox.
  • Move entrypoints, static assets, icons, and locales into WXT's expected layout while preserving MV2 page_action behavior.
  • Add manifest smoke checks and update CI to run lint, all browser builds, all browser zip packages, and Firefox extension linting.

Validation

  • npm ci
  • npm run lint
  • npm run test:builds
  • npm run test:packages
  • npm run test:firefox:lint
  • npm test

Notes

  • Firefox manifest now declares browser_specific_settings.gecko.data_collection_permissions.required as ["none"] because the extension does not collect or transmit data outside the extension.
  • Firefox lint passes with 0 errors and 6 warnings:
    • Two minimum-version compatibility warnings (KEY_FIREFOX_UNSUPPORTED_BY_MIN_VERSION / KEY_FIREFOX_ANDROID_UNSUPPORTED_BY_MIN_VERSION) because data_collection_permissions support was introduced in Firefox 140 (desktop) / 142 (Android) while this extension keeps strict_min_version: "62.0". These warnings are expected and accepted: the key is simply ignored by Firefox versions older than 140, and the Firefox 62 minimum is kept intentionally so users on older Firefox-based browsers can continue to install the extension.
    • Bundled dependency eval/innerHTML warnings, pre-existing bundle noise unchanged by this migration.
  • WXT reports existing React/MUI bundles over 500 kB after minification.
  • Store releases of the WXT-built packages will follow separately after the usual release process.

@rthaut

rthaut commented Jul 4, 2026

Copy link
Copy Markdown
Owner Author

@rthaut
rthaut marked this pull request as ready for review July 15, 2026 17:34
@rthaut
rthaut merged commit 2fb2ea7 into master Jul 15, 2026
5 checks passed
@rthaut
rthaut deleted the build/migrate-wxt branch July 15, 2026 17:34
@github-actions github-actions Bot mentioned this pull request Jul 2, 2026
3 tasks
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.

1 participant