LSP loads vite.config.ts with the server's cwd as root
Los mantenedores suelen responder en 1 día
@leaysgur ya está trabajando en esto.
Desde el 23/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Describe the bug
oxlint/oxfmt load vite.config.ts without a root (apps/shared/src-js/vite_plus_config.ts):
resolveConfig({ configFile: path }, "build")
Vite falls back to process.cwd(). In a multi-root workspace (oxc-project/oxc-vscode#418) that's another repo, so plugins resolve against it. TanStack Start fails:
Could not resolve entry for router entry: router in app-a/src
The failing project is plain Vite (no vite-plus), so lazyPlugins() from #1756 isn't available.
Fix: resolveConfig({ root: dirname(path), configFile: path }, "build").
Reproduction
No repo. Steps below.
Steps to reproduce
- Workspace with a Vite+ repo first, then a Vite + TanStack Start repo.
- Open in VS Code with the Oxc extension.
- Loading the second repo's config fails.
System Info
vp v1.3.0 (vite 8.3.4, oxlint 1.88.0, oxfmt 0.73.0)
Node 24.22.1, bun 1.4.4, macOS 27.0.1
Oxc VS Code 1.64.1
Used Package Manager
bun
Logs
Failed to load config: app-c/vite.config.ts
Error: Could not resolve entry for router entry: router in app-a/src
at resolveEntry (@tanstack/start-plugin-core/dist/esm/resolve-entries.js:30:45)
at BasicMinimalPluginContext.config (@tanstack/start-plugin-core/dist/esm/vite/plugin.js:55:29)
at runConfigHook (app-a/.../@voidzero-dev/vite-plus-core/dist/vite/node/chunks/...)
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
- Lenguaje dominante
- Rust
- Estrellas
- 6.5k
- Forks
- 296
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 232
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/vite-plus
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and laterPosiblemente ocupada @kshanxs la tomó hoy. Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
voidzero-dev/vite-plus#3219 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
voidzero-dev/vite-plus#2882 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
vp run -r executes each package task twice when the root package has a matching recursive scriptPosiblemente ocupada @wan9chi la tomó hace 1 día. Abiertopending triage
voidzero-dev/vite-plus#3221 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
voidzero-dev/vite-plus#3218 ·
Los mantenedores suelen responder en 1 día
-
vp migrate doesn't flag esbuild-specific config (minify: "esbuild") — migrated project fails to build on Vite 8Posiblemente ocupada @john-okeefe la tomó hace 3 días. Abiertocontribution welcome
voidzero-dev/vite-plus#3176 · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/vite-plus
Issues similares
-
bug easy good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
lacs-project/sysknife#659 ·
Los mantenedores suelen responder en 2 días
-
Document multi-value claims with rowBoundaries operator:in (and their per-record application)Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
registrystack/registry-stack#2431 ·
Los mantenedores suelen responder en 1 día
-
contribution
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
farion1231/cc-switch#8863 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
dioxus-desktop on macOS: Finder file drops never fire `ondrop` — `dragenter` is not cancelledAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
DioxusLabs/dioxus#6006 ·
Los mantenedores suelen responder en 1 día