diff --git a/src/_hyperscript.js b/src/_hyperscript.js index c55c50ce7..91e8d6941 100644 --- a/src/_hyperscript.js +++ b/src/_hyperscript.js @@ -7628,31 +7628,44 @@ function browserInit() { /** @type {HTMLScriptElement[]} */ var scripts = Array.from(globalScope.document.querySelectorAll("script[type='text/hyperscript'][src]")) - Promise.all( + + // Fetch external .hs files immediately so network latency overlaps + // with DOMContentLoaded. Parsing is deferred until after ready() so + // that plugins loaded via synchronous +