diff --git a/src/html.ts b/src/html.ts
index 83d613d58..3382eaa3c 100644
--- a/src/html.ts
+++ b/src/html.ts
@@ -89,7 +89,7 @@ export function findAssets(html: string, path: string): Assets {
} else {
globalImports.add(src);
}
- if (script.getAttribute("type")?.toLowerCase() === "module") {
+ if (script.getAttribute("type")?.toLowerCase() === "module" && !script.hasAttribute("async")) {
staticImports.add(src); // modulepreload
}
} else {