Add instructions on writing Vite/Vitest/Rolldown/Oxlint plugins while using Vite+

Abierto
#3,288 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
50/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust, vite

Línea de trabajo

Find the documentation source in the vite-plus repo (likely a docs/ or markdown file) and add a section titled "Writing Plugins" covering Vite, Vitest, Rolldown and Oxlint dependency setup with Vite+. Review existing docs for conventions. Done when the new section explains correct install for non-Vite+ consumers.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

documentation triage: not actionable
Documentation is
  • Missing
  • Outdated
  • Confusing
  • Not sure
Explain in Detail

It is currently a bit confusing to figure out how to properly manage the dependencies of Vite/Vitest/Rolldown/Oxlint when writing plugins for each tool but using Vite+ for the source repository. Vite is the only one that I kind of figured out, but the others are a bit too confusing.

Your Suggestion for Changes

There should be a section, something like "Writing Plugins", that explains how to properly write a plugin such that it works when you are using Vite+ on your repo but still installs correctly with non-Vite+ consumers.

Relevant Page

No response

Reproduction (Optional)

No response

Steps to reproduce (Optional)

No response

Lenguaje dominante
Rust
Estrellas
6.5k
Forks
297
Merge medio
20 h 18 min
PR fusionados (30 d)
236

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de voidzero-dev/vite-plus

Todos los issues de voidzero-dev/vite-plus

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.