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

5 lines
114 B
Bash
Executable File

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