Packages

webpack

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

Your version

5.41.0

28 Jun 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

1 new1 fixed1 changed

Security

2 advisories affect 5.41.0; 5.94.0 fixes them

Release note

Features

  • Persist cache faster when large changes are detected

    • new option cache.idleTimeoutAfterLargeChanges to control that

Bugfixes

  • Shutdown lazy compilation server correctly

Experiments

  • EcmaScript modules support (experiments.outputModule: true)

    • output.library.type: "module": very basic support, no live bindings, unnecessary runtime code

    • output.chunkLoading: "import"

    • output.chunkFormat: "module"

    • externalsType: "module" generates now import * as X from "..." (in a module) or import("...") (in a script)

    • Node.js commonjs externals use import { createRequire } from "module" in a module

    • new Worker etc. sets `type: "module"

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.