diegohaz/arc

require.context

開放

#131 建立於 2017年2月24日

 (20 則留言) (0 個反應) (0 位負責人)JavaScript (291 個分叉)github user discovery
discussionhelp wanted

倉庫指標

星標
 (2,924 顆星)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南