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.

贡献者指南