Releases: webpack/webpack
Releases · webpack/webpack
v5.64.3
v5.64.2
v5.64.1
Bugfixes
- fix regexp in managedPaths to exclude additional slash
- make module.accept errorHandler optional in typings
- correctly create an async chunk when using a
require(...).propertyinrequire.ensure - fix cleaning of symlinks in
output.clean: true - fix change detection with
unsafeCachewithinmanagedPaths(node_modules) - bump webpack-sources for Stack Overflow bugfix
v5.64.0
v5.63.0
v5.62.2
Bugfixes
- fix
__system_context__injection when using thelibraryoption on entrypoint - enable
exportsPresence: "error"by default infutureDefaults - fix bad performance for a RegExp in Stats printing (with large error messages)
- fix
exportPresence->exportsPresencetypo - fix a bug with module invalidation when only module id changes with
experiments.cacheUnaffected
v5.62.1
v5.62.0
Features
- add options to configure export presence checking
parser.javascript.reexportExportsPresence: falseallows to disable warnings for non-existing exports during the migration fromexport ... from "..."toexport type ... from "..."for type reexports in TypeScript
- add
experiments.backCompat: falseto disable some expensive deprecations for better performance
Bugfixes
- use
['catch']instead of.catchfor better ES3 support - fix removed parentheses when using
new (require("...")).Something() - fix
{ require }object literals splitChunks.chunksoption is now correctly used forsplitChunks.fallbackCacheGroup.maxSizetoo- fix schema of
listenoption, allow to omitport - add better support for Promises from different isolates
Developer Experience
- add typings for the webpack API that is available within modules
- use
/// <reference types="webpack/module" />to use the typings in typescript modules - or
"types": [..., "webpack/module"]in tsconfig
- use