julia commited on
Commit
8b277ae
·
1 Parent(s): 9d750f2

chore: add vercel.json for Angular deployment

Browse files
Files changed (1) hide show
  1. vercel.json +19 -0
vercel.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "framework": null,
3
+ "buildCommand": "cd frontend && npm install && npm run build",
4
+ "outputDirectory": "frontend/dist/frontend/browser",
5
+ "routes": [
6
+ {
7
+ "src": "/assets/(.*)",
8
+ "dest": "/assets/$1"
9
+ },
10
+ {
11
+ "src": "/(.*\\.(js|css|ico|png|jpg|jpeg|svg|woff|woff2|ttf|eot))",
12
+ "dest": "/$1"
13
+ },
14
+ {
15
+ "src": "/(.*)",
16
+ "dest": "/index.html"
17
+ }
18
+ ]
19
+ }