Skip to content

Commit

Permalink
[docs] Enhanced grammar in building README. (#42155)
Browse files Browse the repository at this point in the history
Closes #42154

This PR enhances grammar in building README.
  • Loading branch information
alphaxek committed Oct 30, 2022
1 parent c19c100 commit f355dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contributing/core/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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.

Expand Down

0 comments on commit f355dd4

Please sign in to comment.