Skip to content

v3.0.0

Compare
Choose a tag to compare
@sokra sokra released this 19 Jun 15:38
· 12853 commits to main since this release

Changes from 2.6.1 to 3.0.0

Features

  • node_modules no longer mangle to ~ in stats [breaking change]
  • timeout for HMR requests is configurable
  • added experimental Scope Hoisting (webpack.optimize.ModuleConcatenationPlugin)
  • some performance improvements
  • added output.libraryExport to select an export for the library
  • sourceMapFilename now supports [contenthash] [breaking change]
  • module.noParse supports functions
  • add node: false option to disable all node specific additions

Bugfixes

  • add workaround for breakpoints in eval source maps (chrome)
  • avoid creating redundant connections in chunk graph
  • enable chunk modules in stats by default
  • add special behavior when using CommonsChunkPlugin with only async option
  • error is shown when hot-only HMR fails
  • fixed a few issues with weird stats output [breaking change]
  • fixed a bug in occurrence order plugin [breaking change]
  • optimization plugins now only affect the current compilation [breaking change]
  • context now also include index files [breaking change]
  • require.resolve evaluate truthy [breaking change]
  • import order no longer adds to hash
  • Hashing for RawModule fixed

Internal changes

  • child compilations get records and cache assigned (they need a unique name) [breaking change]
  • Set is used for Child.modules, Module.chunks, Reason.chunks [breaking change]
  • uglifyjs-plugin is moved into separate repository

Changes from 3.0.0-rc.2 to 3.0.0

Bugfixes

  • fix duplicate dependencies in ConcatenatedModule
  • Hashing for RawModule fixed

Internal changes

  • uglifyjs-plugin is moved into separate repository