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

Performance History

Latest Results

fix(es/codegen): Emit `export as namespace` correctly (#11923) **Related issue:** - #11917 - #facebook/react#36173
main
11 hours ago
fix(es/codegen): Emit `export as namespace` minified correctly
magic-akari:fix/codegen-minify-export-as-namespace
12 hours ago
chore: Add changeset for export namespace codegen
fix/codegen-export-as-namespace
12 hours ago
fix(es/codegen): Emit `export as namespace` correctly
fix/codegen-export-as-namespace
13 hours ago
fix(bindings/node): Preserve source context for AST transforms (#11920) **Description:** This fixes the Node `@swc/core` AST handoff path so source maps do not depend on a process-global `Compiler`/`SourceMap` when JavaScript receives a parsed `Program` and later passes it back to `transform` or `print`. The native parser now returns an internal envelope with the parsed `Program` plus the original source context. The public JS wrapper unwraps it back to the normal AST shape and stores the source context as non-enumerable metadata. When the AST is passed back to native code, the wrapper sends the envelope; native code restores the source file in a fresh compiler and rebases AST spans into that new source map. Legacy raw `Program` JSON input still falls back to the old behavior. This also stops parser calls from writing comments into the global compiler comment store, and adds regression coverage for the MUI box-drawing comment case, `print(parse(...))`, and concurrent plugin transforms. Validation: - `git submodule update --init --recursive` - `cargo test -p binding_core_node` - `pnpm --dir packages/core build:dev` - `pnpm --dir packages/core exec rstest __tests__/transform/sourcemap_test.js` - `pnpm --dir packages/core test` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` **BREAKING CHANGE:** None. **Related issue (if exists):** Follow-up to #11919. Root cause for the Next.js MUI sourcemap panic originally observed while investigating #11918.
main
3 days ago

Latest Branches

CodSpeed Performance Gauge
+2%
feat(ecma/react-compiler): Add React Compiler#11917
13 hours ago
78acfef
feat/react-compiler
CodSpeed Performance Gauge
0%
12 hours ago
a71d986
magic-akari:fix/codegen-minify-export-as-namespace
CodSpeed Performance Gauge
0%
fix(es/codegen): Emit `export as namespace` correctly#11923
12 hours ago
0805d72
fix/codegen-export-as-namespace
© 2026 CodSpeed Technology
Home Terms Privacy Docs