Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebExtension] Add support for transformation of options_page key. #9090

Closed
nullishamy opened this issue Jun 13, 2023 · 2 comments
Closed

[WebExtension] Add support for transformation of options_page key. #9090

nullishamy opened this issue Jun 13, 2023 · 2 comments

Comments

@nullishamy
Copy link

🙋 Feature request

It would be nice if parcel automatically captured, bundled, and rewrote the options_page key of the manifest file.

🤔 Expected Behavior

Parcel should transform the options page

😯 Current Behavior

Parcel ignores the options page

💁 Possible Solution

Should be similar to the implementation of

"action": {
	"default_popup": "...." 
}

🔦 Context

Currently making a template, based on parcel, for web extensions. I noticed the options page is not transformed, so cannot use
any of the parcel integrations I have configured (tailwind, etc).

💻 Examples

@nullishamy nullishamy changed the title [WebExtension] Add support for path resolution within options_page key. [WebExtension] Add support for transformation of options_page key. Jun 13, 2023
@101arrowz
Copy link
Member

options_page is deprecated and will not work in Firefox. As all browsers support options_ui.page we opted not to allow the options_page key. See MDN for more details.

@nullishamy
Copy link
Author

Oh, right, thanks for letting me know! I never checked the MDN page for options_page lol. Everything works now, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants