Skip to content

Commit f3efb42

Browse files
feat: Refactor build scripts in package.json and remove legacy vercel.json configuration
1 parent d56bff2 commit f3efb42

File tree

3 files changed

+2
-78
lines changed

3 files changed

+2
-78
lines changed

client/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsc -b && vite build",
8+
"build": "vite build",
9+
"build:tsc": "tsc -b && vite build",
910
"lint": "eslint .",
1011
"preview": "vite preview"
1112
},

client/vercel.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +0,0 @@
1-
{
2-
"framework": "vite",
3-
"buildCommand": "npm run build",
4-
"outputDirectory": "dist",
5-
"installCommand": "npm install",
6-
"functions": {},
7-
"redirects": [
8-
{
9-
"source": "/api/(.*)",
10-
"destination": "/api/$1",
11-
"permanent": false
12-
}
13-
],
14-
"headers": [
15-
{
16-
"source": "/(.*)",
17-
"headers": [
18-
{
19-
"key": "X-Content-Type-Options",
20-
"value": "nosniff"
21-
},
22-
{
23-
"key": "X-Frame-Options",
24-
"value": "DENY"
25-
},
26-
{
27-
"key": "X-XSS-Protection",
28-
"value": "1; mode=block"
29-
}
30-
]
31-
}
32-
]
33-
}

vercel.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)