Pin fuse.js to ~7.2.0 — v7.3.0 dropped the UMD build needed for Hugo's script concatenation

fuse.js 7.3.0 removed dist/fuse.min.js (UMD), shipping only ESM/CJS.
Since Hugo concatenates vendor JS into a plain <script> tag, the ESM
export syntax causes a runtime error and breaks search. Pin to 7.2.0,
the last version with UMD support.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nuno Coração
2026-04-13 21:39:16 +01:00
parent 9ec0e6810a
commit 965b0ac6ef
3 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
"@tailwindcss/cli": "^4.2.2",
"@tailwindcss/typography": "^0.5.19",
"chart.js": "^4.5.1",
"fuse.js": "^7.3.0",
"fuse.js": "~7.2.0",
"katex": "^0.16.45",
"lite-youtube-embed": "^0.3.4",
"medium-zoom": "^1.1.0",