Skip to content

Conversation

@njg7194
Copy link

@njg7194 njg7194 commented Feb 1, 2026

Summary

This PR adds support for the options_page manifest key in web extensions.

Changes

  • Add options_page to the schema as a string field in schema.js
  • Add dependency resolution for options_page in WebExtensionTransformer.js

Background

Although MDN marks options_page as deprecated, it is still widely supported:

The options_page key is equivalent to options_ui.page and provides a simpler way to specify an options page without additional configuration like open_in_tab.

Testing

Tested with a minimal manifest:

{
  "name": "Test Extension",
  "version": "1.0.0",
  "manifest_version": 3,
  "options_page": "options.html"
}

Closes #10076

This adds support for the `options_page` manifest key in web extensions.

- Add `options_page` to the schema as a string field
- Add dependency resolution for `options_page` in the transformer

Although MDN marks `options_page` as deprecated, it is still widely supported:
- Chrome actively supports it (not marked deprecated in Chrome docs)
- Firefox added support in Firefox 113 (bugzilla.mozilla.org/1816960)

The `options_page` key is equivalent to `options_ui.page` and provides
a simpler way to specify an options page without additional configuration.

Closes parcel-bundler#10076
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.

webextension: add support for options_page key

1 participant