Wasm-Gzip v1.0
Release Notes
This build includes the source code for this version and a release that can be imported as an ES6 module.
Build it yourself
Windows users can run the Batchfile build.bat
. For other systems, use
wasm-pack build --target web
- (Optional) minify the wasm:
wasm-snip --snip-rust-panicking-code --snip-rust-fmt-code -o ./pkg/wasm_gzip_bg.wasm ./pkg/wasm_gzip_bg.wasm
- (Optional) delete the generated
.gitignore
file in./pkg
if you want to use this project with git. - (Optional) minify the file
wasm_gzip.js
in./pkg
. For this release, terser was used:npx terser --compress --mangle -o ./wasm_gzip.js -- ./wasm_gzip.js