swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
test(es/minifier): add class DCE regression fixtures
Austaras:main
3 hours ago
fix(es/flow): Fix Flow type-only modules in script transforms (#11817) **Description:** - Root cause: Flow inputs that were only considered modules because of type-only `import`/`export` syntax kept module semantics after stripping, which either restored a synthetic `export {}` in `isModule: "unknown"` mode or rejected `isModule: false` transforms before the strip pass could run. - What changed: - `swc_ecma_transforms_typescript` now restores empty exports for Flow only when the original module contained a runtime ESM declaration. - The transform pipeline now has a Flow-only fallback for `isModule: false` that accepts type-only module syntax, strips it, and downgrades the result back to script output. - Runtime Flow imports/exports in explicit script mode still throw the existing syntax error. - Added Rust and JS API regressions for the reported `export type` case and a negative runtime-export case. - Impact: Flow polyfill/script-style inputs with type-only exports now stay script-like after transform, while direct parser strictness remains unchanged. **Related issue:** - Closes #11808
main
3 hours ago
feat(ecma): add node-id semantics analysis
kdy1:kdy1/node-id-semantics
3 hours ago
Create popular-zoos-begin.md
kdy1:kdy1/fix-flow-type-only-script-transform
6 hours ago
fix: handle flow type-only modules in script transforms
kdy1:kdy1/fix-flow-type-only-script-transform
6 hours ago
chore: update test fixture
magic-akari:fix/issue-11704
21 hours ago
feat(es/minifier): Fine grained effect analysis of class
Austaras:main
3 days ago
feat(es/minifier): Fine grained effect analysis of class
Austaras:main
3 days ago
Latest Branches
CodSpeed Performance Gauge
0%
feat(es/minifier): Fine grained effect analysis of class
#11814
3 hours ago
9c1dc79
Austaras:main
CodSpeed Performance Gauge
-13%
[EXPERIMENT] Add node-id based ECMA semantics
#11818
3 hours ago
d3f14b7
kdy1:kdy1/node-id-semantics
CodSpeed Performance Gauge
0%
[codex] Fix Flow type-only modules in script transforms
#11817
6 hours ago
7da088c
kdy1:kdy1/fix-flow-type-only-script-transform
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs