swc/crates/dbg-swc/scripts/reduce-size.sh

5 lines
114 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eu
cargo run --release -- minify reduce --mode size --remove $1
# mv data/*.js ./.input/