Skip to content

Make Vite a Peer Dependency  #1631

Closed

Description

@aklinker1

Feature Request

I get lots of comments about this issue:

Which would be solved by making Vite a peer and requiring all projects list a version of it in their package.json.

Is your feature request related to a bug?

N/A

What are the alternatives?

Keep it a subdependency. Only benefit here is WXT has control over the version of vite it uses, and can prevent people from trying a newer version, like v7, before it's ready.

It's easy to ignore peer dependency version warnings, while those should tell the user t hey have an invalid version installed.

Activity

  1. added this to the v1.0 milestone on Apr 30, 2025
  2. lishaduck commented on Oct 22, 2025

    @lishaduck
    Contributor
  3. aklinker1 commented on Dec 18, 2025

    @aklinker1
    MemberAuthor

    Gonna close this so it shows as complete on the v1.0 milestone. The PR has been merged and this change will be released in the next major version - no estimate on this right now.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions