You can build Next.js, including all type definitions and packages, with:
pnpm build
By default, the latest canary of the next-swc
binaries will be installed and used. If you are actively working on Rust code or you need to test out the most recent Rust code that hasn't been published as a canary yet, you can install Rust and run pnpm --filter=@next/swc build-native
.
If you need to clean the project for any reason, use pnpm clean
.