We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7abf09 commit 8f3620aCopy full SHA for 8f3620a
src/browser/ScriptManager.zig
@@ -651,6 +651,12 @@ pub const PendingScript = struct {
651
return &self.manager.deferreds;
652
}
653
654
+ // Module scripts are deferred by default.
655
+ // https://v8.dev/features/modules#defer
656
+ if (script.kind == .module) {
657
+ return &self.manager.deferreds;
658
+ }
659
+
660
return &self.manager.scripts;
661
662
};
0 commit comments