From e878ddb0e4453039268192c0a96ab690cf7ffc41 Mon Sep 17 00:00:00 2001 From: jason5ng32 Date: Fri, 17 Jul 2026 01:19:03 +0800 Subject: [PATCH] Improvements --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 47419485..8d0e8cdc 100644 --- a/vite.config.js +++ b/vite.config.js @@ -128,7 +128,7 @@ const localePreloadPlugin = () => { if (Object.keys(chunks).length === 0) return html; return { html, - tags: [{ tag: 'script', children: preloadScript(chunks), injectTo: 'head-prepend' }], + tags: [{ tag: 'script', children: preloadScript(chunks), injectTo: 'head' }], }; }, },