1 parent 856695a commit d2dd6c1Copy full SHA for d2dd6c1
1 file changed
lib/web/FetchCompileWasmMainTemplatePlugin.js
@@ -84,12 +84,6 @@ class FetchCompileWasmMainTemplatePlugin {
84
)})[${JSON.stringify(data.usedName)}](${params})`;
85
}
86
87
- if (data.description.type === "GlobalType") {
88
- result = `__webpack_require__(${JSON.stringify(
89
- data.module.id
90
- )})[${JSON.stringify(data.usedName)}]`;
91
- }
92
-
93
properties.push(
94
`\n\t\t${JSON.stringify(data.exportName)}: function(${params}) {
95
return ${result};
0 commit comments