webpack v5.0.0-beta.19 Release Notes
Release Date: 2020-06-29 // almost 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)
- 0๏ธโฃ [splitChunks] defaults for
splitChunks.maxAsyncRequests
andsplitChunks.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 aoutput.uniqueName
+":"
prefixdata-webpack
is not used when nooutput.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 tostats: { 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
tooutput.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
- ๐ Data Uri are now supported