v5.0.0-alpha.15
Pre-release
Pre-release
(based on 4.33.0)
Features
- when exporting imported namespace objects, they are now tracked for Tree Shaking
- added
experiments
config option which allows to enable experimental features- Note that these experiments have relaxed SemVer compatibility (breaking changes to experimental feature may occur in minor version)
- (BREAKING CHANGE)
.mjs
support is now disabled by default and can be enabled withexperiments.mjs: true
- (BREAKING CHANGE) WebAssembly support is now disabled by default and can be enabled with
experiments.syncWebAssembly: true
orexperiments.asyncWebAssembly: true
experiments.syncWebAssembly: true
: The implementation used in webpack 4experiments.asyncWebAssembly: true
: The updated spec based on async modules
- added
experiments.importAwait: true
to allow to useimport await
andexport await
to import/reexport async modules - added
experiments.importAsync: true
which allows normalimport
andexport
to import/reexport async modules - added
experiments.topLevelAwait: true
which allows to useawait
in EcmaScript Modules on top-level (makes the module an async module)