swc/crates/dbg-swc/scripts/reduce-again.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
131 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
ls .input | xargs -L 1 -I {} cargo run --release -- minify reduce './.input/{}'
mv data/*.js ./.input/