Skip to content

A simple example of minifying code with wasm. Compiled with golang.

Notifications You must be signed in to change notification settings

Niklus/codetrim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codetrim

Minify JS, CSS, HTML, and JSON with WASM

Commands

GOOS=js GOARCH=wasm go build -o static/wasm/main.wasm main.go
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./static/wasm

About

A simple example of minifying code with wasm. Compiled with golang.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published