Skip to content

Support devEngines field #864

@yinhx3

Description

@yinhx3

Description

I suggest that Vite Plus support the devEngines field.
I use pnpm as both my package manager and Node manager. Since pnpm added support for devEngines.runtime, I’ve been managing my project’s Node version through this field.

Currently, Vite Plus relies on non-standard solutions like the packageManager field or .node-version file. I recommend adopting the general devEngines field for better consistency and interoperability.

Suggested solution

  • Support devEngines.runtime for Node version management
  • Support devEngines.packageManager to declare the package manager

Alternative

No response

Additional context

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Priority

High

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions