swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge branch 'main' into nightt5879/fix-swc-watch-out-file-duplication
nightt5879:nightt5879/fix-swc-watch-out-file-duplication
7 hours ago
build(deps): bump advisory-flagged crates
nightt5879:nightt5879/fix-swc-watch-out-file-duplication
8 hours ago
fix(es/module): preserve SystemJS object keys
refactor/systemjs
10 hours ago
chore: update test cases
refactor/systemjs
11 hours ago
chore: mark systemjs config api change
refactor/systemjs
12 hours ago
fix(es/module): Rewrite SystemJS transform
refactor/systemjs
14 hours ago
refactor(es/module): Align module transform records with spec terms (#11992) **Description:** This PR refactors the shared CommonJS/AMD/UMD module-lowering collection layer to use terminology and boundaries closer to ECMAScript module records. The old `ModuleDeclStrip` abstraction mixed declaration stripping, module request collection, export collection, and emitter-facing naming. This change renames and reshapes that layer into `module_record.rs` with clearer concepts: - `ModuleRecordCollector` - `RequestedModules` / `RequestedModule` - `ModuleRecordEntry` - `ModuleRequestUsage` - `LocalExportEntries` - `ModuleRecordEntryReducer` - `ExportBinding` CJS, AMD, and UMD now consume the same module-record-oriented data model while preserving their existing emit behavior. The format-specific passes still own wrapper shape, dependency emission, interop helper application, `export =` handling, and import-reference rewriting. This is intended to be a behavior-preserving refactor. The main goal is to make the transform pipeline easier to reason about and maintain before future module interop work. The README was also expanded with diagrams and a short walkthrough of the transform flow. Verification: - `cargo fmt --all` - `cargo test -p swc_ecma_transforms_module` - `cargo clippy --all --all-targets -- -D warnings`
main
16 hours ago
test(core): update systemjs snapshot
refactor/systemjs
21 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
test(cli): cover watch out-file overwrite
#11994
7 hours ago
6c17035
nightt5879:nightt5879/fix-swc-watch-out-file-duplication
CodSpeed Performance Gauge
0%
fix(es/module): Rewrite SystemJS transform
#11996
10 hours ago
4ed9a25
refactor/systemjs
CodSpeed Performance Gauge
0%
fix(es/module): Rewrite `.tsx` imports to `.js` unless JSX is preserved
#11995
24 hours ago
be969bd
SimenB:rwrite-extensions
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs