Andarist / Andarist/lerna-alias

Default sourceDirectory forces imports from index

Aperta
#4 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
36
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

https://github.com/Andarist/lerna-alias/blob/e865ecb3d12f262a3e17b60af9f24aa717ecf339/lib/index.js#L35 causes it to be the case that if I want to import from ```myPackage/src/notIndexFile.js``` this is impossible; I must export everything from the index and import directly from there. if we did not include index in the string, I believe everything would still work that wants to import from index by default, but it would also be possible to import from other files and folders in the directory.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.