index : paprika

A blogging platform written in Rust for Cloudflare Workers, integrated with Standard Notes

path: root/
diff options
authorPeter Cai <[email protected]>2020-04-09 12:40:15 +0800
committerPeter Cai <[email protected]>2020-04-09 12:40:15 +0800
commitc91d152d6595dbc8712ce9fa3f660b738aa9c719 (patch)
treebf26f5dad6ea85973f0f93fdead055f05118c51b /
parente562a8d7e4a4672dcd6f9f692d0ad84692170c92 (diff)
project restruct: use webpack instead of wrangler's wasm-pack support
The generated script from wrangler keeps re-instantiating the WASM module every time the request is processed. Instead, let's switch to using the much, much better Webpack support for WASM.
Diffstat (limited to '')
1 files changed, 0 insertions, 39 deletions
diff --git a/ b/
deleted file mode 100644
index 781feb8..0000000
--- a/
+++ /dev/null
@@ -1,39 +0,0 @@
-# πŸ‘·β€β™€οΈπŸ¦€πŸ•ΈοΈ `rustwasm-worker-template`
-A template for kick starting a Cloudflare worker project using
-This template is designed for compiling Rust libraries into WebAssembly and
-publishing the resulting worker to Cloudflare's worker infrastructure.
-## πŸ”‹ Batteries Included
-* [`wasm-bindgen`]( for communicating
- between WebAssembly and JavaScript.
-* [`console_error_panic_hook`](
- for logging panic messages to the developer console.
-* [`wee_alloc`](, an allocator optimized
- for small code size.
-## 🚴 Usage
-### πŸ‘ Use `wrangler generate` to Clone this Template
-[Learn more about `wrangler generate` here.](
-wrangler generate wasm-worker
-cd wasm-worker
-### πŸ› οΈ Build with `wasm-pack build`
-wasm-pack build
-### πŸ”¬ Test in Headless Browsers with `wasm-pack test`
-wasm-pack test --headless --firefox