Minify JS, CSS, HTML, and JSON with WASM
Available as a chrome extension
GOOS=js GOARCH=wasm go build -o static/wasm/main.wasm main.go
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./static/wasm| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commit | ||||
Minify JS, CSS, HTML, and JSON with WASM
GOOS=js GOARCH=wasm go build -o static/wasm/main.wasm main.go
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./static/wasmA simple example of minifying code with wasm. Compiled with golang.