mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
6a1c3da326
swc_bundler: - Fix keywords pass. swc_ecma_transforms_optimization: - Remove `dbg!`. - `constant_propagation`: Inline only injected variables.
11 lines
214 B
Bash
Executable File
11 lines
214 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
function prepend() { while read line; do echo "${1}${line}"; done; }
|
|
|
|
cargo metadata --format-version 1 \
|
|
| jq -r '.workspace_members[]' \
|
|
| cut -f1 -d" " \
|
|
| sort \
|
|
| prepend '- '
|