Packages

webpack

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

Your version

4.16.0

11 Jul 2018Where it was published

4.47.0 is the newest release of 4.x.

In short

5 deprecated3 new6 fixed1 internal

  • Deprecated

    Deprecated Dependency.compare in favor of compareLocations

  • Deprecated

    optimization.namedModules is now deprecated

  • Deprecated

    optimization.hashedModuleIds is now deprecated

  • Deprecated

    optimization.namedChunks is now deprecated

  • Deprecated

    optimization.occurrenceOrder is now deprecated

Release note

Features

  • Add wasm support for electron-renderer target

  • Add optimization.moduleIds and optimization.chunkIds options to replace other options

Bugfixes

  • Fix order of side effect evaluation for exported dependencies in side-effect-free modules

  • Support the case when passing an array to output.library.root and using a devtool

  • Fix a HMR logging message issue in browser where err.stack is not set

  • Add missing default extensions to the DllReferencePlugin

  • module/chunk ids in Stats now sort numerical when they are numbers

  • Fix lost chunk reasons when using optimization.splitChunks.maxSize

  • Fix cases where Dependency.loc is a string instead of an object

Deprecations

  • Deprecated

    Deprecated Dependency.compare in favor of compareLocations

  • Deprecated

    optimization.namedModules is now deprecated

  • Deprecated

    optimization.hashedModuleIds is now deprecated

  • Deprecated

    optimization.namedChunks is now deprecated

  • Deprecated

    optimization.occurrenceOrder is now deprecated

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.