summaryrefslogtreecommitdiff
path: root/src/js/binaryen.js-extern-pre.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/binaryen.js-extern-pre.js')
-rw-r--r--src/js/binaryen.js-extern-pre.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/js/binaryen.js-extern-pre.js b/src/js/binaryen.js-extern-pre.js
deleted file mode 100644
index 6c1ff4c07..000000000
--- a/src/js/binaryen.js-extern-pre.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// FIXME: The Emscripten shell requires this variable to be present, even though
-// we are building to ES6 (where it doesn't exist) and the .wasm blob is inlined
-// see: https://github.com/emscripten-core/emscripten/issues/11792
-var __dirname = "";
-
-// FIXME: The Emscripten shell requires this function to be present, even though
-// we are building to ESM (where it doesn't exist) and the result is not used
-// see: https://github.com/emscripten-core/emscripten/pull/17851
-function require() {
- return {};
-}