From 048eab3b49dd31ee75e40f3c30599221bb76cce8 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Tue, 28 Jul 2026 08:48:14 +0200 Subject: [PATCH] fix(web): preserve bootstrap attribute order --- apps/web/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.ts index e0152442b..42056cb15 100644 --- a/apps/web/vite.config.ts +++ b/apps/web/vite.config.ts @@ -60,7 +60,7 @@ export default defineConfig({ handler: (html) => html.replace( /]*\btype="module")(?=[^>]*\bsrc="\/assets\/[^"]+")(?![^>]*\bdata-cfasync=)[^>]*>/, - (script) => script.replace(">", ' data-cfasync="false">'), + (script) => script.replace('src="', 'data-cfasync="false" src="'), ), }, },