mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-19 13:01:44 +10:00
fix(web): preserve bootstrap attribute order
This commit is contained in:
@@ -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="'),
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user