Skip to content

Commit

Permalink
fixed compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Dec 26, 2015
1 parent 22c6161 commit 13c12e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FlagDependencyUsagePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ FlagDependencyUsagePlugin.prototype.apply = function(compiler) {
}

function processDependency(dep, usedExports) {
var reference = dep.getReference();
var reference = dep.getReference && dep.getReference();
if(!reference) return;
var module = reference.module;
var importedNames = reference.importedNames;
Expand Down

0 comments on commit 13c12e9

Please sign in to comment.