.. | ||
.cargo | ||
.config | ||
crates | ||
native | ||
.rustfmt.toml | ||
Cargo.lock | ||
Cargo.toml | ||
package.json | ||
README.md | ||
rust-toolchain |
@next/swc
This package is responsible for swc compilation customized for next.js
Development
Run tests
cargo test
# Update snapshots and fixtures for tests
UPDATE=1 cargo test
Format code before submitting code
cargo fmt
Build the binary to integrate with next.js
pnpm build-native