swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
drop private in
Austaras:main
2 hours ago
fix
Austaras:main
2 hours ago
fix(flow): avoid restoring module context when flow syntax is enabled
magic-akari:refactor/flow-avoid-restoring-module-context
6 hours ago
test(es/minifier): add class DCE regression fixtures
Austaras:main
15 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
16 hours ago
feat(ecma): add node-id semantics analysis
kdy1:kdy1/node-id-semantics
16 hours ago
Create popular-zoos-begin.md
kdy1:kdy1/fix-flow-type-only-script-transform
18 hours ago
fix: handle flow type-only modules in script transforms
kdy1:kdy1/fix-flow-type-only-script-transform
18 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
feat(es/minifier): Fine grained effect analysis of class
#11814
2 hours ago
05e4d41
Austaras:main
CodSpeed Performance Gauge
0%
fix(flow): avoid restoring module context when flow syntax is enabled
#11819
4 days ago
2c448ec
magic-akari:refactor/flow-avoid-restoring-module-context
CodSpeed Performance Gauge
-13%
[EXPERIMENT] Add node-id based ECMA semantics
#11818
16 hours ago
d3f14b7
kdy1:kdy1/node-id-semantics
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs