Skip to content

Automatically strip MV2 keys from manifest when targetting MV3, and vise-versa. #517

Description

@aklinker1

Feature Request

Instead of having to use a function to apply MV2 keys when targetting MV2, or MV3 keys when targetting MV3, WXT should strip invalid keys from the manifest automatically so you can manage everything together.

Is your feature request related to a bug?

#490

What are the alternatives?

Continue using a function to decide when to apply custom fields.

Additional context

Also, like web_accessible_resources, which is translated between manifest versions automatically, we should do the same for action and browser_action if only action is specified, not page_action. See #490 (comment) more details

Activity

  1. aklinker1 commented on Mar 3, 2024

    @aklinker1
    MemberAuthor

    Released in v0.17.6

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions