mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
e8a1710a21
swc_ecma_transforms_optimization: - `expr_simplifier`: Don't inject `0` needlessly. (#2257)
18 lines
404 B
Bash
Executable File
18 lines
404 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eux
|
|
|
|
|
|
# Prevent regression
|
|
./scripts/run.sh
|
|
|
|
export RUST_BACKTRACE=1
|
|
export RUST_LOG=debug,swc_ecma_minifier=trace
|
|
|
|
UPDATE=1 cargo test -q --test compress projects__files --all-features || true
|
|
|
|
# # Make it easier to compare
|
|
# prettier --write tests/projects/output
|
|
# yarn run eslint --fix ./tests/projects/output/
|
|
|
|
# ls -al ./tests/projects/output
|
|
# ls -al ./tests/projects/refs |