From ef1d0dcdc7737f203413056161b18af12da9a479 Mon Sep 17 00:00:00 2001 From: Lukas <69743171+quick007@users.noreply.github.com> Date: Tue, 14 Nov 2023 18:21:03 -0800 Subject: [PATCH] confirm build error issue Co-Authored-By: Bloxs <51055767+Blocksnmore@users.noreply.github.com> --- fresh.config.ts | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/fresh.config.ts b/fresh.config.ts index bc8fcbf..4c431c3 100644 --- a/fresh.config.ts +++ b/fresh.config.ts @@ -1,22 +1,15 @@ import { defineConfig } from "$fresh/server.ts"; import unocssPlugin from "@/utils/plugins/unocss.ts"; import { - createQueueValueHandler, kvInsightsPlugin, } from "https://deno.land/x/deno_kv_insights@v0.7.0-beta/mod.ts"; -import { kv } from "./utils/db/kv.ts"; - -const kvInsightsQueueValueHandler = createQueueValueHandler(); - -kv.listenQueue(async (value: unknown) => { - await kvInsightsQueueValueHandler(value); // execute the kv-insights value handler - // add your code to handle the queue value here -}); +import { kv } from "@/utils/db/kv.ts"; export default defineConfig({ - plugins: [unocssPlugin() - // kvInsightsPlugin({ - // kv - // }) + plugins: [ + unocssPlugin(), + kvInsightsPlugin({ + kv, + }), ], });