Show your javascript file size after minification and gzip
cargo install js_sizers
js_sizers ./test.js
# Output
Reading file: ./test.js...
origin >> 20.38 kB (20384 bytes)
minified >> 3.73 kB (3733 bytes)
gzipped >> 1.89 kB (1894 bytes)
cargo build
touch test.js # create a test file as input and edit
cargo run ./test.js
MIT License