From f355dd4f4f94242886100e8ce6f6ac0e200c7954 Mon Sep 17 00:00:00 2001 From: Alpha <116849110+alpha-xek@users.noreply.github.com> Date: Sun, 30 Oct 2022 10:32:24 +0530 Subject: [PATCH] [docs] Enhanced grammar in building README. (#42155) Closes https://github.com/vercel/next.js/issues/42154 This PR enhances grammar in building README. --- contributing/core/building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributing/core/building.md b/contributing/core/building.md index afe3c67cd568a..bce370380cbc8 100644 --- a/contributing/core/building.md +++ b/contributing/core/building.md @@ -6,7 +6,7 @@ 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](https://www.rust-lang.org/tools/install) and run `pnpm --filter=@next/swc build-native`. +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](https://www.rust-lang.org/tools/install) and run `pnpm --filter=@next/swc build-native`. If you want to test out the wasm build locally, you will need to [install wasm-pack](https://rustwasm.github.io/wasm-pack/installer/). Run `pnpm --filter=@next/swc build-wasm --target ` to build and `node ./scripts/setup-wasm.mjs` to copy it into your `node_modules`. Run next with `NODE_OPTIONS='--no-addons'` to force it to use the wasm binary.