Skip to content

Why was **VITE_PLUS_HOME** changed to **VP_HOME**? #1282

@YaoweiZou

Description

@YaoweiZou

Describe the bug

Some time ago I installed vite plus on my computer. I wanted to customize the installation location, and I guessed there might be some environment variable for that. I tried setting VITE_PLUS_HOME, and it worked. It felt very intuitive.

Today I installed vite plus on a new computer and again set VITE_PLUS_HOME, but it didn’t work. At first I thought the environment variable wasn’t configured correctly. I tried twice, but it still installed to the default location, which is the ~/.vite-plus directory. I figured something must have changed, so I checked the installation script and discovered that VITE_PLUS_HOME had been changed to VP_HOME.

Why was this done? It’s just an environment variable — readability is more important than length. “vite plus” is “vite plus”, not “vp”.

Reproduction

nothing

Steps to reproduce

No response

System Info

noting

Used Package Manager

npm

Logs

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Priority

    None yet

    Effort

    None yet

    Target date

    None yet

    Start date

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions