Andarist / Andarist/lerna-alias

Default sourceDirectory forces imports from index

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
36
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。