v0.3.8
Highlights
Top-level await
Support top-level await
and enabled by default, or you can disable this by experiments.topLevelAwait = false
.
Top-level await
can only be used in ECMAScript Module (type: "javascript/esm"
), with this feature you can use await
at top-level, await
resources, await
import, etc.
const db = await import('./db.js');
const connection = await db.connect();
What's Changed
Exciting New Features 🎉
- feat: built in progress plugin support profile option by @faga295 in #3803
- feat: inner graph part one by @underfin in #4176
- feat: support TLA by @ahabhgk in #4345
- feat: update dependency by @IWANABETHATGUY in #4361
Bug Fixes 🐞
- fix: variable undefined with multiple same import by @ahabhgk in #4356
- fix: update lockfile by @jerrykingxyz in #4359
- fix: splitChunks.enforce, pass more webpack-tests by @JSerFeng in #4353
- fix(splitChunks): not matched cacheGroup should not affect cacheGroupIndex by @ahabhgk in #4373
- fix: HarmonyExportImportedDependency
get_exports
by @IWANABETHATGUY in #4388 - fix: 🐛 use get_ids instead of
self.ids
by @IWANABETHATGUY in #4400
Other Changes
- chore: align webpack tests by @JSerFeng in #4337
- chore: enable more webpack-test by @ahabhgk in #4351
- chore: update vue-loader@15.11.0 stable version by @jeromehan in #4355
- chore: use self hosted ci by @jerrykingxyz in #4360
- chore: expose discord explictly in readme by @hardfist in #4368
- chore: support run ci with forked repo PR by @jerrykingxyz in #4369
- chore: bump swc by @JSerFeng in #4372
- chore: add auto issue comment by @hardfist in #4371
- chore: remove unused vars & prefer const & remove default generic value by @SnowingFox in #4079
- chore: set lang to en for react-ts template by @hardfist in #4378
- chore: fix rustup install components failed by @jerrykingxyz in #4387
- chore: enable oxc_resolver in webpack tests by @Boshen in #4374
New Contributors
- @jeromehan made their first contribution in #4355
Full Changelog: v0.3.7...v0.3.8