You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,9 @@ Adapt `includeFiles` to your public output folder. Including these files is requ
64
64
65
65
### Step 4 — Build
66
66
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).
0 commit comments