FormidableLabs / FormidableLabs/spectacle-cli

Investigate: Remove webpack `resolve.alias`?

Abierto
#2 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
29
Forks
7
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

We have all our `package.json:dependencies` hard-coded as `resolve.alias` for our core webpack configuration to ensure:

1. Needed deps are in the `require` resolution path (since CLI may be outside of this path); and,
2. To make sure we only have _one_ installed library for those offenders that have singleton state (`react`, `react-dom`, etc.)

Task

- [ ] See if we can avoid doing this hard coding?
- [ ] Check unintended consequences for continuing...

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.