swc/scripts/cargo/list-crates.sh
Donny/강동윤 ac3fbd91ac
perf(bundler): Improve performance (#2384)
*:
 - Use `ahash` instread of `rustc-hash`.

swc_ecma_transforms_optimization:
 - Make `dce` parallel.
2021-10-09 08:08:13 +00:00

7 lines
147 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
# Prints json for workspace crates
cargo metadata --format-version 1 | jq -r '.packages[] | select(.source == null)'