Boosted by baldur@toot.cafe ("Baldur Bjarnason"):
jaffathecake ("Jake Archibald") wrote:
JavaScript top-level await is no longer considered 'baseline' due to a pretty big Safari bug https://caniuse.com/mdn-javascript%5Foperators%5Fawait%5Ftop%5Flevel
The module graph fails in cases where two modules import a third at the same time. Demo: https://random-stuff.jakearchibald.com/bug-repros/top-level-await-webkit/?timeout=1000
It's best to avoid the feature for now 😔