diegohaz/arc

require.context

Open

#131 opened on Feb 24, 2017

 (20 comments) (0 reactions) (0 assignees)JavaScript (291 forks)github user discovery
discussionhelp wanted

Repository metrics

Stars
 (2,924 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide