Packages

webpack

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

Your version

5.74.0

25 Jul 2022Where it was published

5.113.0 is the newest release of 5.x.

In short

3 new1 faster6 fixed1 changed

Security

Release note

Features

  • Add resolve.extensionAlias option which allows to alias extensions

    • This is useful when you are forced to add the .js extension to imports when the file really has a .ts extension (typescript + "type": "module")

  • Add support for ES2022 features like static blocks

  • Add Tree Shaking support for ProvidePlugin

Bugfixes

  • Fix persistent cache when some build dependencies are on a different windows drive

  • Make order of evaluation of side-effect-free modules deterministic between concatenated and non-concatenated modules

  • Remove left-over from debugging in TLA/async modules runtime code

  • Remove unneeded extra 1s timestamp offset during watching when files are actually untouched

    • This sometimes caused an additional second build which are not really needed

  • Fix shareScope option for ModuleFederationPlugin

  • Set "use-credentials" also for same origin scripts

Performance

  • Improve memory usage and performance of aggregating needed files/directories for watching

    • This affects rebuild performance

Extensibility

  • Export HarmonyImportDependency for plugins

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.