Skip to content

Commit

Permalink
feature: modified votefusion client
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-byiringiro committed Dec 18, 2024
1 parent 164b1af commit b476ad5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"react-use": "^17.5.1",
"socket.io-client": "^4.8.1",
"valtio": "^1.13.2",
"wouter": "^2.12.1"
"wouter": "^2.12.1",
"vite": "^6.0.3"
},
"devDependencies": {
"@babel/core": "^7.26.0",
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ services:
branch: main
buildCommand: >
npm install && cd shared && npm install && npm run build && cd ../client &&
npm install --save-dev vite @vitejs/plugin-react &&
SKIP_PREFLIGHT_CHECK=true NODE_ENV=development npm run build
npm install --save-dev @types/react-transition-group @types/react @types/react-dom &&
npm install vite @vitejs/plugin-react &&
SKIP_PREFLIGHT_CHECK=true npm run build
startCommand: cd client && npm run serve
envVars:
- key: VITE_API_URL
value: https://votefusion-api.onrender.com
- key: PORT
value: 10000
- key: NODE_ENV
value: production

value: production

0 comments on commit b476ad5

Please sign in to comment.