swc/crates/dbg-swc/scripts/check-size.sh
Donny/강동윤 053f42b3aa
feat(es/minifier): Improve minifier (#4655)
swc_ecma_transforms_base:
 - Improved `fixer`.

swc_ecma_minifier:
 - `ignore_return_value`: Support computed access to array literals.
2022-05-14 07:06:03 +00:00

5 lines
151 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
# cargo run -- minify ensure-size --no-terser $1 > list.txt
cat list.txt | xargs -L 1 cargo run --release -- minify reduce