diff --git a/www/islands/SearchButton.tsx b/www/islands/SearchButton.tsx index a4c7084b..1936d9b1 100644 --- a/www/islands/SearchButton.tsx +++ b/www/islands/SearchButton.tsx @@ -1,6 +1,6 @@ import { Head } from "$fresh/runtime.ts"; import { useEffect, useRef } from "preact/hooks"; -import docsearch from "https://esm.sh/@docsearch/js@3"; +import docsearch from "https://esm.sh/@docsearch/js@3?target=es2020"; export default function SearchButton(props: { class?: string }) { const ref = useRef(null);