forked from enmg/nitrokit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
25 lines (25 loc) · 739 Bytes
/
Copy pathvercel.json
File metadata and controls
25 lines (25 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"buildCommand": "prisma generate --no-engine && next build && storybook build -o storybook-static --quiet && mkdir -p public/storybook && cp -r storybook-static/* public/storybook/",
"framework": "nextjs",
"rewrites": [
{
"source": "/storybook",
"destination": "/storybook-static/index.html"
},
{
"source": "/storybook/(.*)",
"destination": "/storybook-static/$1"
}
],
"headers": [
{
"source": "/storybook/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}