Packages

webpack

5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed

Your version

4.10.0

28 May 2018Where it was published

4.47.0 is the newest release of 4.x.

In short

4 new3 fixed2 changed

Release note

Features

  • Export and import name strings in them wasm are mangled

  • Unused exports in wasm are removed (Tree Shaking)

    • Don't expect size improvements yet since there is not minimizer for WASM yet which does the Dead Code Elimination, which is the second part for this optimization

  • Direct WASM dependencies are enforced for:

    • functions imports with i64 parameters or return values

    • memory and table imports

  • Generate shorter wasm runtime code

  • ESM namespace object now have Symbol.toStringTag "Module"

Bugfixes

  • Generate correct initializer for imported globals in wasm

  • side-effect-free modules referenced by export * from are no longer including in the bundle

  • The side-effects optimization is now possible in incremental compilation

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.