Skip to content

fix: add options_page support to webextension transformer#10304

Open
karthikeyansundaram2 wants to merge 2 commits into
parcel-bundler:v2from
karthikeyansundaram2:fix/issue-10076-webextension-options-page
Open

fix: add options_page support to webextension transformer#10304
karthikeyansundaram2 wants to merge 2 commits into
parcel-bundler:v2from
karthikeyansundaram2:fix/issue-10076-webextension-options-page

Conversation

@karthikeyansundaram2

Copy link
Copy Markdown

Summary

Closes #10076

Adds support for the options_page manifest key in Parcel's webextension transformer.

What changed

  • allow options_page in the webextension schema
  • treat options_page as a dependency so the referenced HTML is bundled
  • extend the MV3 integration fixture/test to assert:\n - options_page is preserved in the output manifest\n - the referenced options.html file exists in dist

Why

Currently Parcel supports keys like devtools_page, side_panel.default_path, and options_ui.page, but not the legacy/single-page options_page key. This causes valid webextension manifests using options_page to miss bundling/validation support.

This patch keeps the change minimal and adds regression coverage.

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