File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1717 "dev:developer-docs" : " yarn enforce-redirects && NEXT_PUBLIC_DEVELOPER_DOCS=1 yarn dev" ,
1818 "build:developer-docs" : " yarn enforce-redirects && git submodule init && git submodule update && NEXT_PUBLIC_DEVELOPER_DOCS=1 yarn build" ,
1919 "build" : " yarn enforce-redirects && next build && yarn generate-md-exports" ,
20+ "build:preview" : " yarn enforce-redirects && next build" ,
2021 "generate-md-exports" : " node scripts/generate-md-exports.mjs" ,
2122 "vercel:build:developer-docs" : " yarn enforce-redirects && git submodule init && git submodule update && NEXT_PUBLIC_DEVELOPER_DOCS=1 yarn build" ,
2223 "start:dev" : " NODE_ENV=development yarn build && yarn start" ,
Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://openapi.vercel.sh/vercel.json" ,
3+ "buildCommand" : " sh vercel.sh" ,
24 "headers" : [
35 {
46 "source" : " /(.*)" ,
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [[ $VERCEL_ENV == " production" ]] ; then
4+ yarn run build
5+ else
6+ yarn run build:preview
7+ fi
You can’t perform that action at this time.
0 commit comments