emscripten-core / emscripten-core/emscripten

Closure only runs on the subset of the generated JS code not, for example, modularized code

Open
#23,158 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.