From 9f0354f1a36423bec5ff160367615700ce810e73 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Wed, 22 Jun 2022 00:45:39 +1000 Subject: [PATCH] Fix WASM example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aee49e9..b229b0d 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
Deno -- Package: [https://wilsonl.in/minify-html/deno/0.8.1/index.js] +- Package: https://wilsonl.in/minify-html/deno/0.8.1/index.js - Binding: [WASM](https://webassembly.org/) - Platforms: All @@ -221,7 +221,7 @@ A bundler may be required to use the WebAssembly module, see [this](https://rust ### Use ```ts -import init, {minify} from "https://wilsonl.in/minify-html/deno/0.8.1/index.js"; +import init, {minify} from "@minify-html/wasm"; const encoder = new TextEncoder(); const decoder = new TextDecoder();