diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-02-27 03:59:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 17:59:33 +0100 |
commit | 671f0b83be5cf9f9b6b1d667d41fd7779896a21a (patch) | |
tree | a53bf8ed33b3921260170ab1ace40e3a77374661 /cli/js/test_util.ts | |
parent | 942e67c00b8ebdf6671fc8bb2e6c78c3ad8b3ff8 (diff) |
Bundles can be sync or async based on top level await (#4124)
Previously, bundles always utilised top level await, even if the bundled
modules didn't require top level await. Now, analysis of the bundle is
done and if none of the bundled modules are asynchronously executed,
then the bundle as a whole will be synchronously executed.
Fixes #4055
Fixes #4123
Diffstat (limited to 'cli/js/test_util.ts')
0 files changed, 0 insertions, 0 deletions