Skip to content

Make Vite a Peer Dependency  #1631

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

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