emscripten-core / emscripten-core/emscripten
What is the intended way to disable import/export minification?
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
`MINIFY_WASM_EXPORT_NAMES` and `MINIFY_WASM_IMPORTS_AND_EXPORTS` both exist as settings, but we're not allowed to actually use them. The logic internally for picking their values is *very* complex, and feels like it could change arbitrarily at any point in time. If I want to disable minification of exports and imports reliably, what is the intended way to do it? I see that at present `-lexports.js` will do it but I'm not sure if that's a good solution (and I don't love that it increases code size a little bit.)
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.