webpack v5.0.0-alpha.21 Release Notes
Release Date: 2019-08-22 // over 4 years ago-
๐ (based on 4.39.2)
๐ Features
- โฌ๏ธ Upgrade to acorn 7
- Persistent Caching
- track dependencies while resolving build dependencies to snapshot them
- when build dependencies resolving snapshot is invalid, re-resolve build dependencies to see if something changed
- new option
cache.immutablePaths
, similar tocache.managedPaths
but assumes that existing content of this folder never changes. Defaults to yarn cache when PnP is used. - cache.cacheDirectory defaults to
node_modules/.cache/webpack
whenpackage.json
exists somewhere above cwd,.pnp/.cache/webpack
when.pnp.js
exists,.cache/webpack
otherwise.
- add
__webpack_exports_info__
module API
๐ Bugfixes
- ๐ fix a bug where external default imports in concatenated modules where incorrectly generated
- ๐ improve usage/provision info for nested exports
Full Changelog
Feedback