Skip to content

Commit 6327bb0

Browse files
committed
Clarify build step
1 parent 3975fd2 commit 6327bb0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ Adapt `includeFiles` to your public output folder. Including these files is requ
6464

6565
### Step 4 — Build
6666

67-
To build your website during lambda deploylent, add a `vercel-build` step that builds your website.
67+
If you have an existing `build` script, rename it to `vercel-build` to build your website as part of the lambda build instead of the normal build.
68+
69+
Make sure to not keep the `build` script as it would result in duplicate work or may break deployment entirely. For more information see [custom-build-step-for-node-js](https://vercel.com/docs/runtimes#advanced-usage/advanced-node-js-usage/custom-build-step-for-node-js).
6870

6971
```json
7072
{

0 commit comments

Comments
 (0)