Created by: gaearon
Our resolveLoader
config is the only thing I found causing https://github.com/facebookincubator/create-react-app/issues/556 to fail.
We probably already fixed the other issues.
I don't think we need it anyway because it was mostly necessary for npm 2 which we’re dropping.
As a followup I decided to add require.resolve()
to all loaders and configs. We already do this in a bunch of places, and it seems to make sense given that the config is the one that knows their versions. Webpacks resolves them relatively to the source, but I don’t think this is what makes sense in most cases.
I hope this doesn’t break some obscure linking scenario. In fact I think it might fix some of the more obscure ones. But I’m not 100% sure.