d4d779145c
### What? * move some shared runtime logic to turbopack * use relative imports from internal code when possible * move react-refresh logic to turbopack * move benchmark code logic to turobpack see https://github.com/vercel/turbo/pull/4553 ### Why? We want to have benchmarking again for turbopack PRs We want to have a standalone turbopack cli (eventually) We want to avoid duplicating the runtime code ### How? refactoring, moving code |
||
---|---|---|
.. | ||
.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