Skip to content

Commit

Permalink
vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Eltik committed Jul 2, 2023
1 parent 44871e2 commit 39b94f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
"jsx": "preserve",
"incremental": true,
"declaration": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"],
"database": ["./src/database"]
},
"outDir": "./dist"
},
"include": ["src"],
Expand Down
15 changes: 15 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": 2,
"builds": [
{
"src": "/src/index.ts",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/src/index.ts"
}
]
}

0 comments on commit 39b94f1

Please sign in to comment.