Assets 2

Features

  • allow to provide custom functions to IgnorePlugin

Bugfixes

  • remove incorrectly emitted dead code in concatenated modules
  • chunk ids contribute to [contenthash] for js assets
  • fix crash when trying to export globals in concatenated modules

@sokra sokra released this Aug 6, 2018 · 22 commits to master since this release

Assets 2

Bugfixes

  • (resource) query now works in import()
  • adding entries multiple times now overrides properly
    • This caused an issue when using webpack-hot-client and runtime chunks

@sokra sokra released this Aug 2, 2018 · 34 commits to master since this release

Assets 2

Bugfixes

  • fix chunkAsset hook in HotModuleReplacementPlugin

@sokra sokra released this Jul 27, 2018 · 49 commits to master since this release

Assets 2

Bugfixes

  • fix missing modules with chunks nested in unneeded require.ensures.

@sokra sokra released this Jul 23, 2018 · 54 commits to master since this release

Assets 2

Bugfixes

  • handle module.require like require
  • emit warnings for module.main.require and module.parent.require
  • sort reasons in stats
  • handle errors when parsing manifest in DllReferencePlugin

@sokra sokra released this Jul 16, 2018 · 79 commits to master since this release

Assets 2

Bugfixes

  • fix reversed order when using optimization.occurrenceOrder (default in production mode)
  • output.hashDigest has a more relaxed schema
  • update dependencies
  • fix typo in schema

Internal changes

  • typescript 3 rc

@sokra sokra released this Jul 11, 2018 · 108 commits to master since this release

Assets 2

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
  • fix some typos
  • 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 Dependency.compare in favor of compareLocations
  • optimization.namedModules is now deprecated
  • optimization.hashedModuleIds is now deprecated
  • optimization.namedChunks is now deprecated
  • optimization.occurrenceOrder is now deprecated

@sokra sokra released this Jul 5, 2018 · 152 commits to master since this release

Assets 2

Bugfixes

  • fix memory leaks when using HMR and in SplitChunksPlugin cache
  • fix undefined automaticNameDelimiter in cache groups when using maxSize
  • fix ProfilingPlugin for node.js 10 and 6

@sokra sokra released this Jul 4, 2018 · 162 commits to master since this release

Assets 2

Features:

  • add maxSize option for splitChunks (experimental)
  • add a helpful error when using wasm in a initial chunk

@sokra sokra released this Jun 29, 2018 · 232 commits to master since this release

Assets 2

Features

  • add new hook Compilation.dependencyReference to modify the dependency references

Bugfixes

  • Allow chunks to emit multiple assets to the same filename when hash matches