blob: 6c1ff4c07ad1770a61b8c3c05492bb6491165c27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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 {};
}
|