emscripten-core / emscripten-core/emscripten
Closure only runs on the subset of the generated JS code not, for example, modularized code
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Since we do modularization after we run closure compiler this can lead to some strange effects. For example, if we try to use `await` in the main out closure will see it as a top-level-await, even though in modularize mode its inside the factory function.
Contributor guide
Assessment
This issue has not been assessed yet.