diegohaz/arc

require.context

Aberta

#131 aberto em 24 de fev. de 2017

 (20 comentários) (0 reação) (0 responsável)JavaScript (291 forks)github user discovery
discussionhelp wanted

Métricas do repositório

Stars
 (2.924 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador