Skip to content

Commit

Permalink
Fixes #411
Browse files Browse the repository at this point in the history
Fix to previous PR 412
  • Loading branch information
Satyam committed Jul 4, 2016
1 parent 078029a commit f39a05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolvers/webpack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function findExternal(source, externals, context) {

// array: recurse
if (externals instanceof Array) {
return externals.some(function (e) { return findExternal(source, e) })
return externals.some(function (e) { return findExternal(source, e, context) })
}

if (externals instanceof RegExp) {
Expand Down

0 comments on commit f39a05f

Please sign in to comment.