GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Concern about aliasing strategy in Vite-Plus · Issue #2023 · voidzero-dev/vite-plus

Concern about aliasing strategy in Vite-Plus #2023

New issue
Copy link
New issue
Copy link
Open
Feature
Open
Concern about aliasing strategy in Vite-Plus#2023
Feature
Copy link
Labels
enhancementNew feature or request

Description

@Stanzilla
Stanzilla
opened on Jul 2, 2026
Issue body actions

Description

This follows from #1557 and the related Oxc discussion in oxc-project/oxc#22539.

After looking through the current Vite+ codebase, I think my concern is more specific than "Vite+ ships special versions of everything".

The current setup has several different integration models at once:

  • vite is resolved through the @voidzero-dev/vite-plus-core alias.
  • Vite/Rolldown/tsdown are bundled/re-exported through @voidzero-dev/vite-plus-core.
  • vitest no longer uses the old @voidzero-dev/vite-plus-test wrapper, but Vite+ still exposes and migrates imports to vite-plus/test*, with runner/version pinning to keep a single Vitest instance.
  • oxlint and oxfmt are upstream dependencies, but Vite+ still exposes canonical oxlint / oxfmt bin names as IDE/LSP wrappers that inject Vite+ config-loading behavior.

Each individual piece has a reason, but together this creates an unclear contract for users and integrations: when should a tool continue looking for the canonical package/bin/import (vite, vitest, oxlint, oxfmt), and when should it know about vite-plus, vite-plus/test*, or vp?

That is the part that feels fragile. Package managers, editor extensions, LSP launchers, and user code all tend to assume canonical tool identities. When Vite+ needs wrappers, aliases, generated shims, and package-manager-specific edges, every integration can end up rediscovering the same special cases.

Suggested solution

What I suggested in the oxc issue.

  • Keep vp as the unified command surface.
  • Keep vite.config.ts as the place where Vite+ can unify config for lint, format, test, build, pack, etc.
  • Let the individual tools use vite.config.ts when is available as well.
  • Treat Vite+ as the orchestrating layer over those tools, not as something that every tool identity has to be rewritten into.

Additional context

The specific thing I would like to avoid is Vite+ adoption requiring users and integrations to know a growing list of package identity rules.

As a user, I don't want to worry about having to maintain Vite+ wrappers, alias, or shim and how they get updated in tandem with the base tools that I already use.

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.
Reacted by Liang, Arenarium, nickbutsky and Justin McBride
Reacted by JongKyung Lee , Robby Rabbitman and Max

Activity

  1. Stanzilla
    changed the title [-]Define a stable integration contract for canonical tools and Vite+ wrappers[/-] [+]Concern about aliasing strategy in Vite-Plus[/+] on Jul 2, 2026
  2. liangmiQwQ
    added
    enhancementNew feature or request
    on Jul 2, 2026
  3. liangmiQwQ
    added the
    Feature
    issue type on Jul 2, 2026
  4. fengmk2 commented on Jul 6, 2026

    @fengmk2
    fengmk2
    on Jul 6, 2026
    Member
    More actions

    @Stanzilla Thank you very much for your feedback and suggestions.

    oxlint and oxfmt are upstream dependencies, but Vite+ still exposes canonical oxlint / oxfmt bin names as IDE/LSP wrappers that inject Vite+ config-loading behavior.

    These two bin wrapper will be removed after they resolved at #1557, still being processed.

    but Vite+ still exposes and migrates imports to vite-plus/test*, with runner/version pinning to keep a single Vitest instance

    The reason for continuing to rewrite vitest as vite-plus/test is that some projects do not depend on any vitest ecosystem packages. In such cases, there will be no vitest dependency in the project, so this rewrite is retained.

    Only rewrite vite => vite-plus at vite.config.ts

    In a project using vite-plus, this explicit rewrite is currently necessary because we have added some configuration extensions on top of vite, such as lazyPlugins.

    Another crucial reason is that we've merged the rolldown dependency of vite with the vite-plus napi binary itself, so you won't see any direct dependencies on rolldown in vite-plus.

    As a long-term solution, we plan to bundle all dependencies like oxlint/oxfmt into the vite-plus napi binary in the future, with vite being the most complex one currently.


    The concern you raised is indeed valid regarding the current balance between DX and dependency complexity in vite-plus as a unified toolchain. Therefore, we provide the vp migrate command as a tool for automatic version upgrades of vite-plus.

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

    enhancementNew feature or request

    Type

    Feature

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.