mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
c057a0d578
- Update CDN paths to dist/fuse.cjs in jsdelivr.yml and unpkg.yml - Replace local assets/lib/fuse/fuse.min.js with fuse.js (from dist/fuse.cjs) - Update librarybot.yml version to 7.4.2 - Update Hugo template fallback path to lib/fuse/fuse.js close #778
10 lines
196 B
TypeScript
10 lines
196 B
TypeScript
/**
|
|
* Fuse.js integration for FixIt.
|
|
*
|
|
* Responsibilities:
|
|
* - Import ESM fuse.mjs and expose window.Fuse for search module.
|
|
*/
|
|
import Fuse from '../../lib/fuse/fuse.mjs'
|
|
|
|
window.Fuse = Fuse
|