yarn webpack 5.0.0-beta.19

latest releases: 5.96.1, 5.96.0, 5.95.0...
4 years ago

Features

  • Data Uri are now supported
    • application/json, text/javascript, application/javascript, application/node, application/wasm are supported by default as mimetype
    • added Rule.mimetype to match mimetype in rules
  • [Node Chunk Loading] support runtime and entries being in different chunks (e. g. with runtimeChunk single)
  • [splitChunks] defaults for splitChunks.maxAsyncRequests and splitChunks.maxInitialRequests has been increased to 30

Bugfixes

  • [Chunk Loading] fix a race condition with chunk loading with multiple webpack builds on a single page with overlapping chunk ids (since beta.18)
    • data-webpack has now a output.uniqueName + ":" prefix
    • data-webpack is not used when no output.uniqueName is specified
  • [HMR] callback function in module.hot.accept is now parsed
  • [splitChunks.maxSize] chunks are not unnecessary renamed when not splitted at all
  • [splitChunks.maxSize] no longer generates filenames that only differ in casing
  • [Module Federation] providing modules now also works in incremental builds
  • [Normalization] stats: true now normalizes to stats: { preset: "normal" }
  • [Stats] fixed as incorrectly inserted new line in the assets table
  • [Jsonp Chunk Loading] fix a problem with non-js chunk in the entrypoint

Changes

  • rename output.jsonpScriptType to output.scriptType as it's now also used for other things than jsonp (e. g. script externals)

Performance

  • improvements in SplitChunksPlugin

Contributing

  • yarn lockfile is now deduplicated and checked by CI

Don't miss a new webpack release

NewReleases is sending notifications on new releases.