doiuse with an empty configuration breaks (this bug possibly also breaks other plugins)

Abierto
#248 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
tooling

Línea de trabajo

Start with the linked doiuse pull request #170 and reproduce the issue using the StackBlitz example by running npm run build. Then inspect how postcss-load-config handles the empty postcss.config.js object and check whether the same behavior affects other plugins. Done means the behavior is explained and the affected plugin cases are identified.

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

Descripción

I'm trying to figure out two things:

  1. Why is this the way postcss-load-config treats empty configuration objects
  2. Is this choice currently breaking more plugins?

All the context you need is in this pull request I just opened.

Minimal repro:

  1. Access https://stackblitz.com/edit/vitejs-vite-f8xwph
  2. Run npm run build
  3. Notice doiuse is skipped without warning even though postcss.config.js is perfectly valid.
Lenguaje dominante
JavaScript
Estrellas
661
Forks
76
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

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 postcss/postcss-load-config

Todos los issues de postcss/postcss-load-config

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.