diff --git a/vite.config.ts b/vite.config.ts index 60819e6..27b661e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -22,6 +22,13 @@ function asyncCssPlugin(): Plugin { html = html.replace(/\n?/g, ''); html = html.replace(/\n?/g, ''); + // Add high priority preload for entry script + const mainScriptMatch = html.match(/