Files
Donny/강동윤andGitHub 8f8eaa68d0 feat(swc_cli): Implement all features for swc_cli (#11797)
## Summary
- add real long-running `swc compile --watch` support with incremental
`--out-dir` updates and `--out-file` rebuilds
- add `--copy-files` and `--strip-leading-paths` to the Rust CLI
- normalize `--out-dir` path resolution, including absolute inputs, and
cover the regressions with issue tests

## Why
Issue #4017 called out a few gaps in the Rust CLI compared to the older
behavior: `--watch` was exposed but did not actually keep running,
compatibility flags for copying files and stripping leading paths were
missing, and `out-dir` path handling regressed for some inputs. This
keeps the current default `dist/src/...` layout while restoring the
requested compatibility options and watch behavior.

## Validation
- `git submodule update --init --recursive`
- `cargo fmt --all`
- `cargo test -p swc_cli_impl`
- `cargo clippy --all --all-targets -- -D warnings`

Fixes #4017
2026-05-04 17:25:40 +09:00
..