Skip to content

Commit 6fb8df6

Browse files
committed
vercel build
1 parent bf609b6 commit 6fb8df6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

vercel.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"buildCommand": "sh vercel.sh",
24
"headers": [
35
{
46
"source": "/(.*)",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
if [[ $VERCEL_ENV == "production" ]] ; then
4-
npm run build
4+
yarn run build
55
else
6-
npm run build:preview
6+
yarn run build:preview
77
fi

0 commit comments

Comments
 (0)