Files
7baf1e8392 feat(es/react-compiler): Add React Compiler (#11917)
**Description:**

Add experimental SWC support for the Rust React Compiler from
facebook/react#36173.

This adds the `swc_ecma_react_compiler` bridge, SWC <-> React Compiler
AST/scope conversion, `.swcrc` `jsc.transform.reactCompiler`
configuration, diagnostics forwarding, JS/WASM option types, and tests
ported from the upstream SWC integration.

**TODO:**

- Wait for the React Compiler Rust crates to be published, then replace
the temporary git dependencies with published crate versions.


**Related issue:**
- facebook/react#36173

---------

Co-authored-by: DongYun Kang <[email protected]>
2026-06-15 00:24:04 +00:00

41 lines
934 B
JSON

{
"name": "@swc/types",
"version": "0.1.27",
"description": "Typings for the swc project.",
"types": "./index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tsc",
"prepublishOnly": "pnpm build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git",
"directory": "packages/types"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"*.js",
"*.d.ts"
],
"keywords": [
"swc",
"types"
],
"author": "강동윤 <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
},
"homepage": "https://swc.rs",
"devDependencies": {
"typescript": "^5.2.2"
},
"dependencies": {
"@swc/counter": "^0.1.3"
}
}