WebAssembly / WebAssembly/binaryen

--minify-imports should include module names

Open
#5,546 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

Either that we should add a new --minify-imports-and-modules.

Emscripten sometimes wants to minify just the imports, and in that case it (i think) always also wants to minify the module names.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the --minify-imports option and the code path that handles import and module-name minification. Clarify whether the existing option should cover both or whether a new --minify-imports-and-modules flag is needed; done means the chosen behavior is implemented and covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.