I maintain a little Hugo (static site generator) module ( https://github.com/kaushalmodi/hugo-search-fuse-js ) that enables using Fuse.js to do client-side searching using a pre-generated (by Hugo) index.json.
The Hugo module works great as long as I lock the Fuse.js dependency to v3.2.1. If I use the latest Fuse.js, I don't see any errors (Note: I don't know how to read or code in JS.. I am just maintaining the Hugo side of things in that module), but I see some searches work and most not.
Hello,
I maintain a little Hugo (static site generator) module ( https://github.com/kaushalmodi/hugo-search-fuse-js ) that enables using Fuse.js to do client-side searching using a pre-generated (by Hugo) index.json.
The Hugo module works great as long as I lock the Fuse.js dependency to v3.2.1. If I use the latest Fuse.js, I don't see any errors (Note: I don't know how to read or code in JS.. I am just maintaining the Hugo side of things in that module), but I see some searches work and most not.
The Javascript file of interest would be this: https://github.com/kaushalmodi/hugo-search-fuse-js/blob/main/assets/js/search.js
If someone has time and interest, can they please help update that script so that it works with Fuse.js v6.x.x?
Ref: https://github.com/kaushalmodi/hugo-search-fuse-js/issues/19