Skip to content

Commit

Permalink
edit config
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoober committed Jul 9, 2024
1 parent 52d8bbb commit acfcc3b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
7 changes: 4 additions & 3 deletions app/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"buildCommand": "cd over_under/app/web && npm run build",
"outputDirectory": "over_under/app/web/dist",
"buildCommand": "nx build web",
"outputDirectory": "dist/web/",
"rewrites": [
{ "source": "/(.*)", "destination": "/over_under/app/web/dist/index.html" }
{ "source": "/(.*)", "destination": "/" }
]
}

2 changes: 1 addition & 1 deletion app/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const nextConfig = {
},
reactStrictMode: true,
trailingSlash: true,
distDir: 'dist',
distDir: '/dist/web',


// any other configurations you have
Expand Down
11 changes: 9 additions & 2 deletions app/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@
"../web/.next/types/**/*.ts",
"../dist/web/.next/types/**/*.ts",
"next-env.d.ts",
".next/types/**/*.ts"
".next/types/**/*.ts",
"../dist/web/dist/types/**/*.ts",
"../dist/web/dist/web/types/**/*.ts"
],
"exclude": ["node_modules", "jest.config.ts", "**/*.spec.ts", "**/*.test.ts"]
"exclude": [
"node_modules",
"jest.config.ts",
"**/*.spec.ts",
"**/*.test.ts"
]
}

0 comments on commit acfcc3b

Please sign in to comment.