Skip to content

Commit d2dd6c1

Browse files
committed
fix(wasm): remove dead code
1 parent 856695a commit d2dd6c1

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

lib/web/FetchCompileWasmMainTemplatePlugin.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@ class FetchCompileWasmMainTemplatePlugin {
8484
)})[${JSON.stringify(data.usedName)}](${params})`;
8585
}
8686

87-
if (data.description.type === "GlobalType") {
88-
result = `__webpack_require__(${JSON.stringify(
89-
data.module.id
90-
)})[${JSON.stringify(data.usedName)}]`;
91-
}
92-
9387
properties.push(
9488
`\n\t\t${JSON.stringify(data.exportName)}: function(${params}) {
9589
return ${result};

0 commit comments

Comments
 (0)