mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
|
|
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
react_napi
This crate uses napi-rs to expose React Compiler's analysis to JavaScript via the Node-API.
Build
Note that napi-rs is a bit finicky and doesn't offer full control over where its outputs are emitted. For consistency, be sure to build with
yarn build
To use the canonical build, which will ensure that all files are placed in the right location.