Native config loader based on `oxnode` ability
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- node.js, typescript, vite
- Área
- build-system
Línea de trabajo
Start by reading the linked Vite issue about making the native config loader the default and the referenced config loader performance issue #2698. The issue proposes experimenting with oxc-transformer to provide jiti-like config loading through Vite+'s existing oxnode and vite-plus/register support, but leaves timing and implementation scope open. Done means establishing whether that approach is viable and, if pursued, demonstrating compatibility with syntax such as __dirname and TypeScript enums.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
--configLoader native is about to become the default config loading method in Vite 9+.
After that, some syntax like __dirname and TypeScript enum in Vite config and would become incompatible. For pure Vite, supporting these syntax means adding oxnode or jiti dependencies, which increases its size.
But Vite+ is different, vpx already included oxnode, there is also a module vite-plus/register for adding TypeScript loading ability for Node. In other words, Vite+ already has the ability that jiti provides.
So in the future version where native become the default config loader, in order to have better compatibility, it might be a good idea to try using oxc-transformer's ability to load config, which costs little on Vite+. (provide jiti-like ability)
Not sure if we should start this experiment before Vite 9+ (config loader performance improvement #2698)
- Lenguaje dominante
- TypeScript
- Estrellas
- 6.6k
- Forks
- 303
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 212
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
-
vite:monorepo template declares catalog entries that no workspace package usesPosiblemente ocupada @d4rshnn la tomó hace 1 día. Abiertobug contribution welcome
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/vite-plus#3381 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
vp migrate rewrites catalog: specs in a Bun project whose workspaces.packages is emptyPosiblemente ocupada @jong-kyung la tomó hoy. Abiertobug migration
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/vite-plus#3375 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
`vp env pin`: says "Created .node-version" when overwriting an existing filePosiblemente ocupada @CheHyeonYeong la tomó hace 2 días. Abiertocontribution welcome documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/vite-plus#3370 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
triage: not actionable
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
voidzero-dev/vite-plus#3296 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
voidzero-dev/vite-plus#3235 ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/vite-plus
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
WalletConnect/walletconnect-monorepo#7392 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Absenderzeile über dem Anschriftfeld wird bei Angeboten und Rechnungen am Ende abgeschnittenAbiertofehler
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Azure/azure-functions-nodejs-extensions#180 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
laaielichter/Threesmith#28 ·
Los mantenedores suelen responder en 1 día