www: fix agolia search exceptions (#1402)
This commit is contained in:
+4
-4
@@ -6,15 +6,15 @@ export {
|
|||||||
export { escape as regexpEscape } from "https://deno.land/std@0.193.0/regexp/escape.ts";
|
export { escape as regexpEscape } from "https://deno.land/std@0.193.0/regexp/escape.ts";
|
||||||
|
|
||||||
// -- esbuild --
|
// -- esbuild --
|
||||||
// @deno-types="https://deno.land/x/esbuild@v0.17.19/mod.d.ts"
|
// @deno-types="https://deno.land/x/esbuild@v0.18.11/mod.d.ts"
|
||||||
import * as esbuildWasm from "https://deno.land/x/esbuild@v0.17.19/wasm.js";
|
import * as esbuildWasm from "https://deno.land/x/esbuild@v0.18.11/wasm.js";
|
||||||
import * as esbuildNative from "https://deno.land/x/esbuild@v0.17.19/mod.js";
|
import * as esbuildNative from "https://deno.land/x/esbuild@v0.18.11/mod.js";
|
||||||
// @ts-ignore trust me
|
// @ts-ignore trust me
|
||||||
// deno-lint-ignore no-deprecated-deno-api
|
// deno-lint-ignore no-deprecated-deno-api
|
||||||
const esbuild: typeof esbuildWasm = Deno.run === undefined
|
const esbuild: typeof esbuildWasm = Deno.run === undefined
|
||||||
? esbuildWasm
|
? esbuildWasm
|
||||||
: esbuildNative;
|
: esbuildNative;
|
||||||
const esbuildWasmURL = new URL("./esbuild_v0.17.19.wasm", import.meta.url).href;
|
const esbuildWasmURL = new URL("./esbuild_v0.18.11.wasm", import.meta.url).href;
|
||||||
export { esbuild, esbuildWasm as esbuildTypes, esbuildWasmURL };
|
export { esbuild, esbuildWasm as esbuildTypes, esbuildWasmURL };
|
||||||
|
|
||||||
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.1/mod.ts";
|
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.1/mod.ts";
|
||||||
|
|||||||
Regular → Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user