swc/ecmascript/minifier/scripts/base.sh
강동윤 b02e189d07
feat(es/minifier): Implement more rules (#1871)
swc_ecma_codegen:
 - Fix codegen of `U+0028` and `U+0029`. 

swc_ecma_minifier:
 - Implement MVP.

swc_ecma_transforms_base:
 - `fixer`: Handle seq/await in rhs of for-of.
2021-07-30 10:11:27 +09:00

9 lines
215 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
export RUST_LOG=swc_ecma_minifier=trace
# To prevent regression, we run base test before real tests.
touch tests/compress.rs
cargo test --test compress ${1-base_exec} -q --all-features