Packages

webpack

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

Your version

5.17.0

22 Jan 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

3 new2 fixed

Security

2 advisories affect 5.17.0; 5.94.0 fixes them

Release note

Features

  • Add experimental lazy compilation via experiments.lazyCompilation: true for web and node targets

    • compiles entrypoints and import()s only when they are accessed

    • More details see: #12469

    • Known issues: webpack-dev-server/webpack serve opening an entrypoint for the first time, sometimes need a manual refresh.

  • Move some javascript parsing related configuration options from module to module.parser.javascript and also allow to set them via module.rules

  • Add module.parser.javascript.commonjsMagicComments to enable /* webpackIgnore: true */ for require() calls

Bugfixes

  • Fix a problem with webpack.debug.ProfilingPlugin on Mac when the computer was suspended before.

  • Fix a bug with IIFE handling when the IIFE has parameters with default values

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.