mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 23:32:19 +10:00
fix(web): preserve bootstrap attribute order
This commit is contained in:
@@ -60,7 +60,7 @@ export default defineConfig({
|
|||||||
handler: (html) =>
|
handler: (html) =>
|
||||||
html.replace(
|
html.replace(
|
||||||
/<script\b(?=[^>]*\btype="module")(?=[^>]*\bsrc="\/assets\/[^"]+")(?![^>]*\bdata-cfasync=)[^>]*>/,
|
/<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