diff --git a/.changeset/five-suits-burn.md b/.changeset/five-suits-burn.md
new file mode 100644
index 0000000..ba0cc73
--- /dev/null
+++ b/.changeset/five-suits-burn.md
@@ -0,0 +1,5 @@
+---
+"@marko/vite": patch
+---
+
+Improve handling of render blocking assets in dev mode.
diff --git a/src/render-assets-runtime.ts b/src/render-assets-runtime.ts
index 60c0e98..bf62d11 100644
--- a/src/render-assets-runtime.ts
+++ b/src/render-assets-runtime.ts
@@ -55,22 +55,16 @@ function renderAssets(slot) {
// To avoid FOUC we will hide the page until all of these modules are loaded.
const { preload } = entry;
if (preload) {
- let sep = "";
- html += \`";
+ "if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style');";
+ html += "";
}
}`
}