Skip to content

Commit 536c672

Browse files
author
yurim
committed
feat: revive /dist prefix
1 parent 6f17c71 commit 536c672

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

vercel.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"buildCommand": "yarn build",
3-
"outputDirectory": "dist",
42
"redirects": [
53
{
64
"source": "/",
@@ -11,27 +9,23 @@
119
"rewrites": [
1210
{
1311
"source": "/code-quality/:path*",
14-
"destination": "/fundamentals/code-quality/:path*"
12+
"destination": "/dist/fundamentals/code-quality/:path*"
1513
},
1614
{
1715
"source": "/fundamentals/code-quality/:path*",
18-
"destination": "/fundamentals/code-quality/:path*"
16+
"destination": "/dist/fundamentals/code-quality/:path*"
1917
},
2018
{
2119
"source": "/fundamentals/bundling/:path*",
22-
"destination": "/fundamentals/bundling/:path*"
23-
},
24-
{
25-
"source": "/today-i-learned/assets/:path*",
26-
"destination": "/fundamentals/today-i-learned/assets/:path*"
20+
"destination": "/dist/fundamentals/bundling/:path*"
2721
},
2822
{
2923
"source": "/today-i-learned/:path*",
30-
"destination": "/fundamentals/today-i-learned/index.html"
24+
"destination": "/dist/fundamentals/today-i-learned/index.html"
3125
},
3226
{
3327
"source": "/fundamentals/today-i-learned/:path*",
34-
"destination": "/fundamentals/today-i-learned/:path*"
28+
"destination": "/dist/fundamentals/today-i-learned/:path*"
3529
},
3630
{ "source": "/(.*)", "destination": "/" }
3731
]

0 commit comments

Comments
 (0)