Packages

webpack

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

Your version

5.31.0

7 Apr 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

5 new4 fixed2 changed

Security

2 advisories affect 5.31.0; 5.94.0 fixes them

Release note

Features

  • Add a few more options for infrastructure logging:

    • infrastructureLogging.colors: Enables/Disables colorful output.

    • infrastructureLogging.appendOnly: Only appends lines to the output. Avoids updating existing output e. g. for status messages.

    • infrastructureLogging.stream: Stream used for logging output. Defaults to process.stderr.

    • infrastructureLogging.console: Custom console used for logging.

    • When stream is an TTY colors is enabled and appendOnly is disabled. Otherwise it's flipped.

Bugfixes

  • Persistent Caching

    • fix caching crash when using fsevents in build dependencies

    • improve resolving of build dependencies when exports field is used

    • make problems during resolving build dependencies warnings instead of debug messages

  • Prioritize static reexport over runtime reexport for target determination

    • This helps in optimization by no longer opting out of optimization when some other exports any dynamic (from commonjs or empty/type-only modules)

  • Fix bug with subtraction of runtimes

    • This fixes a problem with concatenated modules in builds with multiple runtimes and force-merged shared chunks

  • Ensure that entrypoints are always re-executed when HMR-updated

    • This fixes no longer updating pages when the entrypoint crashed

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.