FormidableLabs / FormidableLabs/spectacle-cli

Investigate: Remove webpack `resolve.alias`?

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
29
Forks
7
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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...

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.