diegohaz/arc

require.context

オープン

#131 opened on 2017/02/24

 (20 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (291 件のフォーク)github user discovery
discussionhelp wanted

Repository metrics

Stars
 (2,924 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

I'm creating this issue to unify the discussions about require.context.

While that's very handy to import components, it comes with some drawbacks like #130, #113 and https://github.com/diegohaz/arc/issues/128#issuecomment-281914665

Personally, I don't have problems with it, the advantages are bigger than the issues for me. But, as many are having problems, we should consider removing it by default or at least give proper instructions on how to remove it.

If you are using this webpack feature (whether your project is based on ARc or not), please share your thoughts.

コントリビューターガイド