Open ted537 opened 3 years ago
If -s MODULAR was not used during linking, then we should export a top-level module object directly.
-s MODULAR
Currently, we export a top-level promise to the object, which only works when -s MODULAR is set
If
-s MODULAR
was not used during linking, then we should export a top-level module object directly.Currently, we export a top-level promise to the object, which only works when
-s MODULAR
is set