Skip to content

Commit d0a9c34

Browse files
author
yurim
committed
feat: outputDirectory 를 dist로
1 parent 6d4edea commit d0a9c34

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

vercel.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"buildCommand": "yarn build",
3+
"outputDirectory": "dist",
24
"redirects": [
35
{
46
"source": "/",
@@ -7,29 +9,30 @@
79
}
810
],
911
"rewrites": [
12+
{
13+
"source": "/code-quality/:path*",
14+
"destination": "/fundamentals/code-quality/:path*"
15+
},
1016
{
1117
"source": "/fundamentals/code-quality/:path*",
12-
"destination": "/dist/fundamentals/code-quality/:path*"
18+
"destination": "/fundamentals/code-quality/:path*"
1319
},
1420
{
1521
"source": "/fundamentals/bundling/:path*",
16-
"destination": "/dist/fundamentals/bundling/:path*"
22+
"destination": "/fundamentals/bundling/:path*"
1723
},
1824
{
19-
"source": "/fundamentals/today-i-learned/:path*",
20-
"destination": "/dist/fundamentals/today-i-learned/index.html"
25+
"source": "/today-i-learned/assets/:path*",
26+
"destination": "/fundamentals/today-i-learned/assets/:path*"
2127
},
2228
{
2329
"source": "/today-i-learned/:path*",
24-
"destination": "/dist/fundamentals/today-i-learned/index.html"
30+
"destination": "/fundamentals/today-i-learned/index.html"
2531
},
2632
{
27-
"source": "/code-quality/:path*",
28-
"destination": "/dist/fundamentals/code-quality/:path*"
33+
"source": "/fundamentals/today-i-learned/:path*",
34+
"destination": "/fundamentals/today-i-learned/:path*"
2935
},
30-
{
31-
"source": "/(.*)",
32-
"destination": "/"
33-
}
36+
{ "source": "/(.*)", "destination": "/" }
3437
]
35-
}
38+
}

0 commit comments

Comments
 (0)