Skip to content

@cloudflare/vite-plugin - support for vite v7 #9759

Closed
@MarkSFrancis

Description

@MarkSFrancis

What versions & operating system are you using?

@cloudflare/[email protected], [email protected], [email protected]

Please provide a link to a minimal reproduction

No response

Describe the Bug

Currently, the vite-plugin only supports vite@^6.1.0. Could this be changed to the specifier ^6.1.0 || ^7.0.0?

I have no idea what would be involved to ensure that v7 works with the plugin - I've not investigated the changes in vite@7

Please provide any relevant error logs

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: ai@undefined
npm error Found: [email protected]
npm error node_modules/vite
npm error   dev vite@"^7.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vite@"^6.1.0" from @cloudflare/[email protected]
npm error node_modules/@cloudflare/vite-plugin
npm error   dev @cloudflare/vite-plugin@"^1.7.5" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that isn't workingvite-pluginRelating to the `@cloudflare/vite-plugin` package

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions