Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(web): preserve bootstrap attribute order

Amruth Pillai048eab3b49dd
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(
/<script\b(?=[^>]*\btype="module")(?=[^>]*\bsrc="\/assets\/[^"]+")(?![^>]*\bdata-cfasync=)[^>]*>/,
- (script) => script.replace(">", ' data-cfasync="false">'),
+ (script) => script.replace('src="', 'data-cfasync="false" src="'),
),
},
},