Releases
v5.16.0
sokra
released this
19 Jan 18:39
Features
add __webpack_is_included__("./some-module")
which returns true when the module is bundled and false when not
priorize eager shared modules over normal shared modules (with the same version), as they are loaded anyway
add library.type: "assign-properties"
which merges all exports into a global variable
allow optimization.innerGraph
for new URL()
This allows to detect which URLs are used and drop the module and asset when they are not.
Bugfixes
only return exports from runtime when needed
This allows to use experiments.outputModule: true
with optimization.runtimeChunk
fix a bug that splitChunk.reuseExistingChunk
doesn't work for entrypoints
This optimized an edge case where a nearly empty entrypoint is created when an entrypoint contains only vendor modules
Developer Experience
include plugin names in deprecation message for "NormalModuleFactory.xxx is no longer a waterfall hook"
improve error message when passing an invalid library name
You can’t perform that action at this time.