diff --git a/Makefile b/Makefile index a388521..da53a85 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ build: cargo build example: - DEV=true deno run \ + PLUGIN_URL=target/debug/ deno run \ -A \ --unstable \ --no-check \ @@ -16,5 +16,3 @@ fmt: lint: cargo clippy deno lint --ignore=target/ - - diff --git a/deps.ts b/deps.ts index 7865ff4..f15c124 100644 --- a/deps.ts +++ b/deps.ts @@ -1 +1,5 @@ -export { CachePolicy, prepare, download } from "https://deno.land/x/plug@0.5.1/plug.ts"; +export { + CachePolicy, + download, + prepare, +} from "https://deno.land/x/plug@0.5.1/plug.ts"; diff --git a/examples/server.ts b/examples/server.ts index 4f4ea63..c63d638 100644 --- a/examples/server.ts +++ b/examples/server.ts @@ -1,7 +1,7 @@ import { serve } from "https://deno.land/std@0.120.0/http/mod.ts"; import { Webview } from "../mod.ts"; -const server = serve(() => +const _server = serve(() => new Response("

Hello World

", { headers: new Headers({ "content-type": "text/html",