Skip to content

Commit

Permalink
Correct ExternalModule's global option (webpack#6933)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusdarmstrong committed Apr 13, 2018
1 parent 10282ea commit 058a5f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ExternalModule.js
Expand Up @@ -113,8 +113,8 @@ class ExternalModule extends Module {
);
case "global":
return this.getSourceForGlobalVariableExternal(
runtime.outputOptions.globalObject,
this.externalType
request,
runtime.outputOptions.globalObject
);
case "commonjs":
case "commonjs2":
Expand Down

0 comments on commit 058a5f4

Please sign in to comment.