swc/crates/swc_ecma_minifier/scripts/test.sh
Donny/강동윤 286334c4d0
feat(es/minifier): Drop vars from sequential inliner (#5993)
**Description:**

This PR renames `CloningMultiReplacer` to `Finalizer` and makes it handle the removal of unused variables. Also, this PR improves the sequential inliner so we can drop variables within a single pass.
2022-09-30 09:43:31 +00:00

11 lines
282 B
Bash
Executable File

#!/usr/bin/env bash
export DIFF=0
export UPDATE=1
export SWC_CHECK=0
export SWC_RUN=0
cargo test -q -p swc_ecma_minifier --release -p swc --no-fail-fast --test projects --test tsc --test compress --test mangle --features concurrent $@
# find ../swc/tests/ -type f -empty -delete