Packages

webpack

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

Your version

3.5.0

8 Aug 2017Where it was published

3.12.0 is the newest release of 3.x.

In short

5 new8 fixed1 internal

Release note

Features

  • Add stats.excludeAssets to allow to filter assets in list

  • Add import(/* webpackMode: "weak" */ "module") to try to load a module without network request

  • Add 4. argument to require.context which is the context mode. Can be false, "eager", "lazy-once", "weak" and "async-weak".

  • require.resolveWeak now support expressions

  • Generate only a single require for modules references in scope-hoisted modules (ModuleConcatenationPlugin)

Bugfixes

  • Keep correct import order when using the ModuleConcatenationPlugin

  • Generate shorter, more readable identifiers in ConcatenatedModule

  • --help output is flushed before process exit

  • Exit code is reliable reported for CLI validation error

  • stats options are now validated by schema

  • Fixes problem when using the CommonsChunkPlugin in async mode without name argument

  • Fixes description of --resolve-extensions

  • Fixes has no internal name when using dependency variable in root of scope-hoisted modules (ModuleConcatenationPlugin)

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.