Avatar for the swc-project user
swc-project
swc
BlogDocsChangelog

Performance History

Latest Results

fix(cli): resolve out-dir source map paths relative to output (#12481) **Description:** The native Rust CLI currently retains cwd-relative source names in maps emitted with `--out-dir`. For example, `lib/src/index.js.map` refers to `src/index.ts` instead of `../../src/index.ts`, so the path resolves inside the output tree. Resolve each output destination before transformation and pass it through `Options.output_path`. Compute source-map names separately from normalized input and output paths to preserve input filenames, JSX development metadata, and explicit source-name/root overrides. This covers external and inline maps as well as watch rebuilds. Validation: - Confirmed the new reproduction test fails before the fix. - `cargo test -p swc_cli_impl`: 42 tests passed, including 12 new regression tests. - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` **Related issue (if exists):** Fixes #12480
main
2 hours ago
chore(ci): allow TSRX contributors
codex/add-tsrx-contributors
2 hours ago
chore: Add changeset
codex/fix-native-cli-source-map-paths
3 hours ago
fix(typescript): erase fully constant merged const enums
fix/ts-namespace-enum-bindings
5 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
chore(ci): allow TSRX contributors#12482
3 hours ago
1c52be7
codex/add-tsrx-contributors
CodSpeed Performance Gauge
0%
3 hours ago
17607e2
codex/fix-native-cli-source-map-paths
CodSpeed Performance Gauge
+2%
fix(es/typescript): Fix merged namespace bindings and enum evaluation#12455
5 hours ago
e6ffc59
fix/ts-namespace-enum-bindings
© 2026 CodSpeed Technology
Home Terms Privacy Docs