Closed bebraw closed 8 years ago
Implementation approach: the _.intersection
of the a) array of folder names in node_modules with the b) flattened array of subfolders under all resolve.root
folders should be empty.
I am on this, using joi 9 .extend
and it's awesome. :) will probably pr tomorrow.
A baseline version of this is implemented in #81.
This should check for
resolve.root
at least. The point is that we want to avoid a case where webpack picks up something from the project root overnode_modules
.Related: https://github.com/reactjs/redux/issues/1681 .