Skip to content

Commit 058a5f4

Browse files
Correct ExternalModule's global option (webpack#6933)
1 parent 10282ea commit 058a5f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ExternalModule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ class ExternalModule extends Module {
113113
);
114114
case "global":
115115
return this.getSourceForGlobalVariableExternal(
116-
runtime.outputOptions.globalObject,
117-
this.externalType
116+
request,
117+
runtime.outputOptions.globalObject
118118
);
119119
case "commonjs":
120120
case "commonjs2":

0 commit comments

Comments
 (0)